TotpMultiFactorAssertion

actual constructor(oneTimePassword: String, secret: TotpSecret?, enrollmentId: String?)(source)

Parameters

oneTimePassword

The one-time password the authenticator app shows; it must not be empty.

secret

The secret being enrolled, from TotpMultiFactorGenerator.generateSecret.

enrollmentId

The MultiFactorInfo.uid of the enrolled factor to sign in with.

expect constructor(oneTimePassword: String, secret: TotpSecret?, enrollmentId: String?)(source)

Parameters

oneTimePassword

The one-time password the authenticator app shows; it must not be empty.

secret

The secret being enrolled, from TotpMultiFactorGenerator.generateSecret.

enrollmentId

The MultiFactorInfo.uid of the enrolled factor to sign in with.

actual constructor(oneTimePassword: String, secret: TotpSecret?, enrollmentId: String?)(source)