Click or drag to resize

ITfaSecretManagerStartTfaRegistration Method

Register an RFC4226 MFA secret setting to identity

Namespace: SanteDB.Core.Security.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
string StartTfaRegistration(
	IIdentity identity,
	int codeLength,
	Rfc4226Mode rfc4226Mode,
	IPrincipal principal
)

Parameters

identity  IIdentity
The identity to which the secret setting should be added
codeLength  Int32
The code length
rfc4226Mode  Rfc4226Mode
The secret mode (which dictates the generation and validation of the RFC secret)
principal  IPrincipal
The principal which is adding the secret configuration

Return Value

String
The registration data
See Also