Class ClientClaimExtensions
Useful extension methods for ClientClaim.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: IRM.IdentityModel.Claims
Assembly: IRM.dll
Syntax
public static class ClientClaimExtensions
Methods
FromClaim(Claim)
Creates and returns a ClientClaim representation of the System.Security.Claims.Claim.
Declaration
public static ClientClaim FromClaim(this Claim claim)
Parameters
System.Security.Claims.Claim
claim
The claim to change representation for. |
Returns
ClientClaim
A ClientClaim representation of the current System.Security.Claims.Claim. |
ToClaim(ClientClaim)
Creates and returns a System.Security.Claims.Claim representation of the ClientClaim.
Declaration
public static Claim ToClaim(this ClientClaim claim)
Parameters
ClientClaim
claim
The claim to change representation for. |
Returns
System.Security.Claims.Claim
A System.Security.Claims.Claim representation of the current ClientClaim. |