IToken |
The ITokenPrincipal type exposes the following members.
| Name | Description | |
|---|---|---|
| AccessToken | Get the tokens with name and values | |
| Claims |
Gets the claims
(Inherited from IClaimsPrincipal) | |
| ExpiresAt | Get the expiration time | |
| Identities |
Gets all the identities
(Inherited from IClaimsPrincipal) | |
| Identity | Gets the identity of the current principal. (Inherited from IPrincipal) | |
| IdentityToken | Get the identity token structure | |
| RefreshToken | Gets the refresh token | |
| TokenType | Get the token types |
| Name | Description | |
|---|---|---|
| AddIdentity |
Add an identity
(Inherited from IClaimsPrincipal) | |
| FindAll |
Find all claims
(Inherited from IClaimsPrincipal) | |
| FindFirst |
Find all claims
(Inherited from IClaimsPrincipal) | |
| HasClaim |
Determine if the principal has a claim
(Inherited from IClaimsPrincipal) | |
| IsInRole | Determines whether the current principal belongs to the specified role. (Inherited from IPrincipal) | |
| TryGetClaimValue |
Find all claims
(Inherited from IClaimsPrincipal) |
| Name | Description | |
|---|---|---|
| GetClaimValue |
Get the specified claim
(Defined by SanteDBClaimTypes) | |
| GetFirstClaimValue |
Gets the first value of a matching claim type from an IClaimsPrincipal searching in the order specified in the parameters.
(Defined by SecurityExtensions) | |
| GetGrantedPolicies |
Gets the granted policies from the specified claims principal
(Defined by SecurityExtensions) | |
| IsElevatedPrincipal |
True if elevated principal
(Defined by ExtensionMethods) | |
| IsNonInteractivePrincipal |
True if the principal is not an interactive (user) principal
(Defined by ExtensionMethods) |