Click or drag to resize

IClaimsIdentity Interface

Represents the claims identity

Namespace: SanteDB.Core.Security.Claims
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface IClaimsIdentity : IIdentity

The IClaimsIdentity type exposes the following members.

Properties
 NameDescription
Public propertyAuthenticationTypeGets the type of authentication used.
(Inherited from IIdentity)
Public propertyClaims Gets the claims
Public propertyIsAuthenticatedGets a value that indicates whether the user has been authenticated.
(Inherited from IIdentity)
Public propertyNameGets the name of the current user.
(Inherited from IIdentity)
Top
Methods
 NameDescription
Public methodFindAll Find all matching
Public methodFindFirst Find the first
Top
Extension Methods
 NameDescription
Public Extension MethodGetFirstClaimValue Gets the first claim value out of an IClaimsIdentity searching in the order of claim types provided in the claimTypes parameters.
(Defined by SecurityExtensions)
Top
See Also