TokenClaimsPrincipal Class |
Namespace: SanteDB.DisconnectedClient.Security
The TokenClaimsPrincipal type exposes the following members.
| Name | Description | |
|---|---|---|
| TokenClaimsPrincipal |
Initializes a new instance of the TokenClaimsPrincipal class.
|
| Name | Description | |
|---|---|---|
| Claims |
Gets the claims in all the identities
(Inherited from SanteDBClaimsPrincipal.) | |
| Identities |
Get all identities
(Inherited from SanteDBClaimsPrincipal.) | |
| Identity |
Gets the primary identity
(Inherited from SanteDBClaimsPrincipal.) | |
| RefreshToken |
Gets the refresh token
|
| Name | Description | |
|---|---|---|
| AddIdentity |
Add identity
(Inherited from SanteDBClaimsPrincipal.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindAll |
Find all matching
(Inherited from SanteDBClaimsPrincipal.) | |
| FindFirst |
Finds the specified claim.
(Inherited from SanteDBClaimsPrincipal.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasClaim |
Determines whether this instance has claim the specified predicate.
(Inherited from SanteDBClaimsPrincipal.) | |
| IsInRole |
Determines whether the current principal belongs to the specified role.
(Inherited from SanteDBClaimsPrincipal.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ProcessClaim |
Processes the claim.
| |
| ToString |
Represent the token claims principal as a string (the access token itself)
(Overrides ObjectToString.) | |
| TryGetClaimValue |
Try to get the claim value
(Inherited from SanteDBClaimsPrincipal.) |
| Name | Description | |
|---|---|---|
| m_identities |
Identities that this claims principal contains
(Inherited from SanteDBClaimsPrincipal.) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) | |
| GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |