MultiFactor

actual abstract class MultiFactor(source)

The multi-factor enrollment of a user, mirroring com.google.firebase.auth.MultiFactor: enrolls a second factor from a MultiFactorAssertion and lists or removes the enrolled ones.

expect abstract class MultiFactor(source)

The multi-factor enrollment of a user, mirroring com.google.firebase.auth.MultiFactor: enrolls a second factor from a MultiFactorAssertion and lists or removes the enrolled ones.

actual abstract class MultiFactor(source)

The multi-factor enrollment of a user, mirroring com.google.firebase.auth.MultiFactor: enrolls a second factor from a MultiFactorAssertion and lists or removes the enrolled ones.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
actual constructor()

Properties

Link copied to clipboard
actual abstract val enrolledFactors: List<MultiFactorInfo>

The enrolled second factors.

expect abstract val enrolledFactors: List<MultiFactorInfo>

The enrolled second factors.

actual abstract val enrolledFactors: List<MultiFactorInfo>

The enrolled second factors.

Functions

Link copied to clipboard
actual abstract fun enroll(assertion: MultiFactorAssertion, displayName: String?): Task<Nothing?>

Enrolls the factor of assertion under displayName; requires a recent sign-in.

expect abstract fun enroll(assertion: MultiFactorAssertion, displayName: String?): Task<Nothing?>

Enrolls the factor of assertion under displayName; requires a recent sign-in.

actual abstract fun enroll(assertion: MultiFactorAssertion, displayName: String?): Task<Nothing?>

Enrolls the factor of assertion under displayName; requires a recent sign-in.

Link copied to clipboard
actual abstract fun getSession(): Task<MultiFactorSession>

A session for enrolling a factor, passed to the factor's verification.

expect abstract fun getSession(): Task<MultiFactorSession>

A session for enrolling a factor, passed to the factor's verification.

actual abstract fun getSession(): Task<MultiFactorSession>

A session for enrolling a factor, passed to the factor's verification.

Link copied to clipboard
actual abstract fun unenroll(info: MultiFactorInfo): Task<Nothing?>

Removes the enrolled info.

actual abstract fun unenroll(factorUid: String): Task<Nothing?>

Removes the enrolled factor with factorUid.

expect abstract fun unenroll(info: MultiFactorInfo): Task<Nothing?>

Removes the enrolled info.

expect abstract fun unenroll(factorUid: String): Task<Nothing?>

Removes the enrolled factor with factorUid.

actual abstract fun unenroll(info: MultiFactorInfo): Task<Nothing?>

Removes the enrolled info.

actual abstract fun unenroll(factorUid: String): Task<Nothing?>

Removes the enrolled factor with factorUid.