Click or drag to resize

ITfaMechanism Interface

Represents the TFA mechanism

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

The ITfaMechanism type exposes the following members.

Properties
 NameDescription
Public propertyClassification Gets the classification of this TFA mechanism
Public propertyHostTypes Get the host types that this mechanism is compatible with
Public propertyId Gets the identifier of the mechanism
Public propertyName Gets the name of the TFA mechanism
Public propertySetupHelpText Get the text which should be used to display as help
Top
Methods
 NameDescription
Public methodBeginSetup Create a shared secret to share with the user - this will be rendered as a QR code
Public methodEndSetup Complete the setup procedure by ensuring that the user was able to generate and share the configured code
Public methodSend Send the specified two factor authentication via the mechanism
Public methodValidate Validate the secret
Top
See Also