Click or drag to resize

ICertificatePrincipal Interface

An identity which was created and authenticated using a certificate

Namespace: SanteDB.Core.Security.Principal
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface ICertificatePrincipal : IPrincipal

The ICertificatePrincipal type exposes the following members.

Properties
 NameDescription
Public propertyAuthenticationCertificate Gets the certificate used to authenticate this identity
Public propertyIdentityGets the identity of the current principal.
(Inherited from IPrincipal)
Top
Methods
 NameDescription
Public methodIsInRoleDetermines whether the current principal belongs to the specified role.
(Inherited from IPrincipal)
Top
Extension Methods
 NameDescription
Public Extension MethodGetClaimValue Get the specified claim
(Defined by SanteDBClaimTypes)
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