Click or drag to resize

ITokenPrincipal Methods

The ITokenPrincipal type exposes the following members.

Methods
 NameDescription
Public methodAddIdentity Add an identity
(Inherited from IClaimsPrincipal)
Public methodFindAll Find all claims
(Inherited from IClaimsPrincipal)
Public methodFindFirst Find all claims
(Inherited from IClaimsPrincipal)
Public methodHasClaim Determine if the principal has a claim
(Inherited from IClaimsPrincipal)
Public methodIsInRoleDetermines whether the current principal belongs to the specified role.
(Inherited from IPrincipal)
Public methodTryGetClaimValue Find all claims
(Inherited from IClaimsPrincipal)
Top
Extension Methods
 NameDescription
Public Extension MethodGetClaimValue Get the specified claim
(Defined by SanteDBClaimTypes)
Public Extension MethodGetFirstClaimValue Gets the first value of a matching claim type from an IClaimsPrincipal searching in the order specified in the parameters.
(Defined by SecurityExtensions)
Public Extension MethodGetGrantedPolicies Gets the granted policies from the specified claims principal
(Defined by SecurityExtensions)
Public Extension MethodIsElevatedPrincipal True if elevated principal
(Defined by ExtensionMethods)
Public Extension MethodIsNonInteractivePrincipal True if the principal is not an interactive (user) principal
(Defined by ExtensionMethods)
Top
See Also