OAuth |
The OAuthClaimsPrincipal type exposes the following members.
| 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) | |
| GetAccessToken | Gets the access token | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetRefreshToken | Gets the refresh token | |
| 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) | |
| 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 | |
|---|---|---|
| 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) | |
| 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) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |