Companion

actual object Companion(source)
expect object Companion(source)
actual object Companion(source)
actual object Companion(source)

Properties

Link copied to clipboard
expect val FACTOR_ID: String
actual val FACTOR_ID: String

Functions

Link copied to clipboard
actual fun generateSecret(session: MultiFactorSession): <Error class: unknown class><TotpSecret>
expect fun generateSecret(session: MultiFactorSession): <Error class: unknown class><TotpSecret>

Generates a secret to enroll an authenticator app with, in session from MultiFactor.getSession.

actual fun generateSecret(session: MultiFactorSession): <Error class: unknown class><TotpSecret>
actual fun generateSecret(session: MultiFactorSession): <Error class: unknown class><TotpSecret>
Link copied to clipboard

An assertion for enrolling secret, from the oneTimePassword the authenticator app shows.

Link copied to clipboard
actual fun getAssertionForSignIn(enrollmentId: String, oneTimePassword: String): TotpMultiFactorAssertion
expect fun getAssertionForSignIn(enrollmentId: String, oneTimePassword: String): TotpMultiFactorAssertion

An assertion for signing in with the enrolled factor enrollmentId, from the oneTimePassword the authenticator app shows.

actual fun getAssertionForSignIn(enrollmentId: String, oneTimePassword: String): TotpMultiFactorAssertion
actual fun getAssertionForSignIn(enrollmentId: String, oneTimePassword: String): TotpMultiFactorAssertion