Skip to content

ClaimsIdentityExtensions Class ​

Definition ​

Extensions for the ClaimsIdentity class

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

Methods ​

NameDescription
Claim GetClaim(ClaimsIdentity identity, string type)Returns Claim of requested Type or null
bool HasClaim(ClaimsIdentity identity, string type)Returns true if Claim type exist in list
bool RemoveClaim(ClaimsIdentity identity, string type, bool removeAllIfDuplicate = null)Returns true if Claim type successfully removed