Method | Description | |
---|---|---|
GetClaimFromIdentity ( IIdentity identity, string claimType ) : Claim | ||
GetClaimsFromPrincipal ( IPrincipal principal, string claimType ) : Claim | ||
GetCurrentUserClaim ( string claimType ) : Claim |
public static GetClaimFromIdentity ( IIdentity identity, string claimType ) : Claim | ||
identity | IIdentity | |
claimType | string | |
return | Claim |
public static GetClaimsFromPrincipal ( IPrincipal principal, string claimType ) : Claim | ||
principal | IPrincipal | |
claimType | string | |
return | Claim |
public static GetCurrentUserClaim ( string claimType ) : Claim | ||
claimType | string | |
return | Claim |