Builder

actual class Builder(firebaseAuth: FirebaseAuth)(source)
expect class Builder(firebaseAuth: FirebaseAuth)(source)
actual class Builder(firebaseAuth: FirebaseAuth)(source)

Constructors

Link copied to clipboard
actual constructor(firebaseAuth: FirebaseAuth)
expect constructor(firebaseAuth: FirebaseAuth)
actual constructor(firebaseAuth: FirebaseAuth)

Functions

Link copied to clipboard
actual fun build(): PhoneAuthOptions
expect fun build(): PhoneAuthOptions
actual fun build(): PhoneAuthOptions
Link copied to clipboard
actual fun requireSmsValidation(requireSmsValidation: Boolean): PhoneAuthOptions.Builder

Whether the user must enter the code even when the SDK could verify the number itself.

expect fun requireSmsValidation(requireSmsValidation: Boolean): PhoneAuthOptions.Builder

Whether the user must enter the code even when the SDK could verify the number itself.

actual fun requireSmsValidation(requireSmsValidation: Boolean): PhoneAuthOptions.Builder

Whether the user must enter the code even when the SDK could verify the number itself.

Link copied to clipboard

Android only: the activity the verification (and its reCAPTCHA fallback) is attached to; required.

Link copied to clipboard

Sets the reCAPTCHA (or other ApplicationVerifier) of the verification; the JS SDK requires one in browsers.

Sets the reCAPTCHA (or other ApplicationVerifier) of the verification; the JS SDK requires one in browsers.

Link copied to clipboard

Resends the code of an earlier verification.

Resends the code of an earlier verification.

Resends the code of an earlier verification.

Link copied to clipboard

For multi-factor sign-in: the enrolled phone factor to verify, from MultiFactorResolver.hints.

For multi-factor sign-in: the enrolled phone factor to verify, from MultiFactorResolver.hints.

For multi-factor sign-in: the enrolled phone factor to verify, from MultiFactorResolver.hints.

Link copied to clipboard

For multi-factor enrollment or sign-in: the session from MultiFactor.getSession or MultiFactorResolver.session.

For multi-factor enrollment or sign-in: the session from MultiFactor.getSession or MultiFactorResolver.session.

For multi-factor enrollment or sign-in: the session from MultiFactor.getSession or MultiFactorResolver.session.

Link copied to clipboard

The number to verify, in E.164 format.

The number to verify, in E.164 format.

The number to verify, in E.164 format.

Link copied to clipboard

Android only: how long to wait for SMS auto-retrieval before PhoneAuthProvider.OnVerificationStateChangedCallbacks.onCodeAutoRetrievalTimeOut.

Link copied to clipboard
fun PhoneAuthOptions.Builder.setUIDelegate(delegate: FIRAuthUIDelegateProtocol?): PhoneAuthOptions.Builder

Sets the delegate that presents the reCAPTCHA of the verification when the SDK needs one; the default presents it over the key window.