 | Rfc4226TfaCodeProviderFinishTfaRegistration Method |
Completes an RFC4226 MFA secret registration
Namespace: SanteDB.Core.Security.TfaAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic bool FinishTfaRegistration(
IIdentity identity,
string code,
IPrincipal principal
)
Public Function FinishTfaRegistration (
identity As IIdentity,
code As String,
principal As IPrincipal
) As Boolean
public:
virtual bool FinishTfaRegistration(
IIdentity^ identity,
String^ code,
IPrincipal^ principal
) sealed
abstract FinishTfaRegistration :
identity : IIdentity *
code : string *
principal : IPrincipal -> bool
override FinishTfaRegistration :
identity : IIdentity *
code : string *
principal : IPrincipal -> bool 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
BooleanTrue if the registration was successfully completed
Implements
ITfaSecretManagerFinishTfaRegistration(IIdentity, String, IPrincipal)
See Also