SanteDBClaimsPrincipal Class |
Namespace: SanteDB.Core.Security.Claims
The SanteDBClaimsPrincipal type exposes the following members.
Name | Description | |
---|---|---|
SanteDBClaimsPrincipal |
Identities
| |
SanteDBClaimsPrincipal(IClaimsIdentity) |
Create a new claims principal
| |
SanteDBClaimsPrincipal(IEnumerableIClaimsIdentity) |
Identities
| |
SanteDBClaimsPrincipal(IIdentity) |
Creates a new claims principal with the specified identity
|
Name | Description | |
---|---|---|
Claims |
Gets the claims in all the identities
| |
Identities |
Get all identities
| |
Identity |
Gets the primary identity
|
Name | Description | |
---|---|---|
AddIdentity |
Add identity
| |
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
| |
FindFirst |
Finds the specified claim.
| |
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.
| |
IsInRole |
Determines whether the current principal belongs to the specified role.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetClaimValue |
Try to get the claim value
|
Name | Description | |
---|---|---|
m_identities |
Identities that this claims principal contains
|
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.) | |
GetGrantedPolicies |
Gets the granted policies from the specified claims principal
(Defined by SecurityExtensions.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |