Click or drag to resize

AdoCertificateIdentityProvider Class

Implementation of the ICertificateIdentityProvider which can authenticate principals from an X509 certificiate
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.Data.ServicesAdoCertificateIdentityProvider

Namespace: SanteDB.Persistence.Data.Services
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public class AdoCertificateIdentityProvider : ICertificateIdentityProvider, 
	IAdoTrimProvider

The AdoCertificateIdentityProvider type exposes the following members.

Constructors
 NameDescription
Public methodAdoCertificateIdentityProvider Creates a new ADO session identity provider with injected configuration manager
Top
Methods
 NameDescription
Public methodAddIdentityMap Maps identityToBeMapped to authenticationCertificate so that calls to Authenticate(X509Certificate2) may establish security principals
Public methodAuthenticate Authenticates a IPrincipal instance based on the certificate mapping for authenticationCertificate
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetCertificateIdentity Gets an un-authenticated identity object for authenticationCertificate
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIdentityCertificates Get the X509Certificate2 which has been mapped to identityOfCertificte
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveIdentityMap Removes the certificate mapping between identityToBeUnMapped and authenticationCertificate
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTrim Trim the specified object from the database
Top
Events
 NameDescription
Public eventAuthenticated Fired after an authentication request has been made.
Public eventAuthenticating Fired prior to an authentication request being made.
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn 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)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also