com.google.firebase.auth.ktx

Top-level functions summary

inline ActionCodeSettings

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

inline AuthCredential

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

inline OAuthProvider
oAuthProvider(providerId: String, init: OAuthProvider.Builder.() -> Unit)

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

inline OAuthProvider
oAuthProvider(
    providerId: String,
    firebaseAuth: FirebaseAuth,
    init: OAuthProvider.Builder.() -> Unit
)

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

inline UserProfileChangeRequest

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Extension functions summary

FirebaseAuth

Accessing this object for Kotlin apps has changed; see the migration guide.

Extension properties summary

FirebaseAuth

Accessing this object for Kotlin apps has changed; see the migration guide.

Top-level functions

actionCodeSettings

inline fun actionCodeSettings(init: ActionCodeSettings.Builder.() -> Unit): ActionCodeSettings

Returns an ActionCodeSettings instance initialized using the init function.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-auth-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,

oAuthCredential

inline fun oAuthCredential(providerId: String, init: OAuthProvider.CredentialBuilder.() -> Unit): AuthCredential

Returns an OAuth AuthCredential instance initialized using the init function.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-auth-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,

oAuthProvider

inline fun oAuthProvider(providerId: String, init: OAuthProvider.Builder.() -> Unit): OAuthProvider

Returns an OAuthProvider instance initialized using the init function.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-auth-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,

oAuthProvider

inline fun oAuthProvider(
    providerId: String,
    firebaseAuth: FirebaseAuth,
    init: OAuthProvider.Builder.() -> Unit
): OAuthProvider

Returns an OAuthProvider instance initialized using the init function.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-auth-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,

userProfileChangeRequest

inline fun userProfileChangeRequest(init: UserProfileChangeRequest.Builder.() -> Unit): UserProfileChangeRequest

Returns an UserProfileChangeRequest instance initialized using the init function.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-auth-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,

Extension functions

auth

fun Firebase.auth(app: FirebaseApp): FirebaseAuth

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseAuth instance of the default FirebaseApp.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-auth-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,

Extension properties

auth

val Firebase.authFirebaseAuth

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseAuth instance of the default FirebaseApp.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-auth-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,