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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. 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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. 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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. 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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. 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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. 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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. 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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.