AuthKt
public final class AuthKt
Summary
Public methods |
|
---|---|
static final @NonNull ActionCodeSettings |
This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
static final @NonNull FirebaseAuth |
auth(@NonNull Firebase receiver, @NonNull FirebaseApp app) Accessing this object for Kotlin apps has changed; see the migration guide. |
static final @NonNull FirebaseAuth |
Accessing this object for Kotlin apps has changed; see the migration guide. |
static final @NonNull AuthCredential |
This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
static final @NonNull OAuthProvider |
This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
static final @NonNull OAuthProvider |
This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
static final @NonNull UserProfileChangeRequest |
This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Public methods
actionCodeSettings
public static final @NonNull ActionCodeSettingsactionCodeSettings(
@ExtensionFunctionType @NonNull Function1<@NonNull ActionCodeSettings.Builder, Unit> init
)
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.,
auth
public static final @NonNull FirebaseAuth auth(@NonNull Firebase receiver, @NonNull FirebaseApp app)
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.,
getAuth
public static final @NonNull FirebaseAuth getAuth(@NonNull Firebase receiver)
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.,
oAuthCredential
public static final @NonNull AuthCredentialoAuthCredential(
@NonNull String providerId,
@ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.CredentialBuilder, Unit> init
)
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
public static final @NonNull OAuthProvideroAuthProvider(
@NonNull String providerId,
@ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.Builder, Unit> init
)
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
public static final @NonNull OAuthProvideroAuthProvider(
@NonNull String providerId,
@NonNull FirebaseAuth firebaseAuth,
@ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.Builder, Unit> init
)
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
public static final @NonNull UserProfileChangeRequestuserProfileChangeRequest(
@ExtensionFunctionType @NonNull Function1<@NonNull UserProfileChangeRequest.Builder, Unit> init
)
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.,