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 |
This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
inline OAuthProvider |
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 |
Firebase.auth(app: FirebaseApp) 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 funactionCodeSettings(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 funoAuthCredential(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 funoAuthProvider(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 funoAuthProvider(
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 funuserProfileChangeRequest(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.auth: 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.