 | Rfc4226TfaCodeProviderStartTfaRegistration Method |
Register an RFC4226 MFA secret setting to identity
Namespace: SanteDB.Core.Security.TfaAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic string StartTfaRegistration(
IIdentity identity,
int codeLength,
Rfc4226Mode rfc4226Mode,
IPrincipal principal
)
Public Function StartTfaRegistration (
identity As IIdentity,
codeLength As Integer,
rfc4226Mode As Rfc4226Mode,
principal As IPrincipal
) As String
public:
virtual String^ StartTfaRegistration(
IIdentity^ identity,
int codeLength,
Rfc4226Mode rfc4226Mode,
IPrincipal^ principal
) sealed
abstract StartTfaRegistration :
identity : IIdentity *
codeLength : int *
rfc4226Mode : Rfc4226Mode *
principal : IPrincipal -> string
override StartTfaRegistration :
identity : IIdentity *
codeLength : int *
rfc4226Mode : Rfc4226Mode *
principal : IPrincipal -> string 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
StringThe registration data
Implements
ITfaSecretManagerStartTfaRegistration(IIdentity, Int32, Rfc4226Mode, IPrincipal)
See Also