Skip to content

GetEmail Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

Claim GetEmail(IEnumerable<Claim> claims, bool checkPreferredUsername = null) ​

csharp
Claim GetEmail(IEnumerable<Claim> claims, bool checkPreferredUsername = null)

Returns Claim of type "email" with optional check for preferred_username if email is not found