Click or drag to resize

ITfaSecretManagerFinishTfaRegistration Method

Completes an RFC4226 MFA secret registration

Namespace: SanteDB.Core.Security.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
bool FinishTfaRegistration(
	IIdentity identity,
	string code,
	IPrincipal principal
)

Parameters

identity  IIdentity
The identity to which the secret registraiton is to be completed
code  String
The code which was used to confirm the MFA secret setting
principal  IPrincipal
The prinicpal which is completing the registration process

Return Value

Boolean
True if the registration was successfully completed
See Also