Package-level declarations

Types

Link copied to clipboard

The details of an email change action: the previousEmail it reverts to, and the new email.

Link copied to clipboard
actual open class ActionCodeInfo

The details of an email action, mirroring com.google.firebase.auth.ActionCodeInfo: the email it applies to.

expect open class ActionCodeInfo

The details of an email action, mirroring com.google.firebase.auth.ActionCodeInfo: the email it applies to.

actual open class ActionCodeInfo

The details of an email action, mirroring com.google.firebase.auth.ActionCodeInfo: the email it applies to.

Link copied to clipboard

The details of a second factor revert action: the multiFactorInfo being removed.

Link copied to clipboard

What the out-of-band code of an email action does, mirroring com.google.firebase.auth.ActionCodeResult; from FirebaseAuth.checkActionCode.

Link copied to clipboard
actual class ActionCodeSettings

How the link of an email action behaves, mirroring com.google.firebase.auth.ActionCodeSettings: built with Builder from newBuilder or the actionCodeSettings extension.

expect class ActionCodeSettings

How the link of an email action behaves, mirroring com.google.firebase.auth.ActionCodeSettings: built with Builder from newBuilder or the actionCodeSettings extension.

actual class ActionCodeSettings

A pure Kotlin value; the platform SDKs' forms are built from it when it is used.

Link copied to clipboard
actual class ActionCodeUrl

The parts of an email action link, mirroring com.google.firebase.auth.ActionCodeUrl.

expect class ActionCodeUrl

The parts of an email action link, mirroring com.google.firebase.auth.ActionCodeUrl.

actual class ActionCodeUrl
Link copied to clipboard

What a provider reported about the user on sign-in, mirroring com.google.firebase.auth.AdditionalUserInfo.

Link copied to clipboard
actual abstract class AuthCredential

A credential from an identity provider, mirroring com.google.firebase.auth.AuthCredential.

expect abstract class AuthCredential

A credential from an identity provider, mirroring com.google.firebase.auth.AuthCredential.

actual abstract class AuthCredential
Link copied to clipboard
interface AuthResult

The result of a sign-in, link or re-authentication, mirroring com.google.firebase.auth.AuthResult.

Link copied to clipboard

An email and password, or email link, credential from EmailAuthProvider.

An email and password, or email link, credential from EmailAuthProvider.

An email and password, or email link, credential from EmailAuthProvider.

Link copied to clipboard
actual class EmailAuthProvider

Email credentials, mirroring com.google.firebase.auth.EmailAuthProvider.

expect class EmailAuthProvider

Email credentials, mirroring com.google.firebase.auth.EmailAuthProvider.

actual class EmailAuthProvider

Email credentials, mirroring com.google.firebase.auth.EmailAuthProvider.

Link copied to clipboard

A Facebook credential from FacebookAuthProvider.

A Facebook credential from FacebookAuthProvider.

A Facebook credential from FacebookAuthProvider.

Link copied to clipboard

Facebook credentials, mirroring com.google.firebase.auth.FacebookAuthProvider.

Facebook credentials, mirroring com.google.firebase.auth.FacebookAuthProvider.

Facebook credentials, mirroring com.google.firebase.auth.FacebookAuthProvider.

Link copied to clipboard
actual abstract class FederatedAuthProvider

An identity provider the SDK signs in with through a web flow, mirroring com.google.firebase.auth.FederatedAuthProvider.

expect abstract class FederatedAuthProvider

An identity provider the SDK signs in with through a web flow, mirroring com.google.firebase.auth.FederatedAuthProvider.

actual abstract class FederatedAuthProvider

An identity provider the SDK signs in with through a web flow, mirroring com.google.firebase.auth.FederatedAuthProvider.

Link copied to clipboard
actual class FirebaseAuth

The entry point of Firebase Authentication, mirroring com.google.firebase.auth.FirebaseAuth from the Firebase Android SDK: obtained per FirebaseApp with the static accessors (or the Firebase.auth extensions), it signs users in and out, creates accounts, handles email actions and reports the signed-in user and its token to listeners.

actual class FirebaseAuth
expect class FirebaseAuth

The entry point of Firebase Authentication, mirroring com.google.firebase.auth.FirebaseAuth from the Firebase Android SDK: obtained per FirebaseApp with the static accessors (or the Firebase.auth extensions), it signs users in and out, creates accounts, handles email actions and reports the signed-in user and its token to listeners.

actual class FirebaseAuth
actual class FirebaseAuth
Link copied to clipboard

The out-of-band code of an email action is invalid or expired.

The out-of-band code of an email action is invalid or expired.

The out-of-band code of an email action is invalid or expired.

Link copied to clipboard
actual open class FirebaseAuthEmailException(errorCode: String, message: String) : FirebaseAuthException

An email could not be sent.

expect open class FirebaseAuthEmailException(errorCode: String, message: String) : FirebaseAuthException

An email could not be sent.

actual open class FirebaseAuthEmailException(errorCode: String, message: String) : FirebaseAuthException

An email could not be sent.

Link copied to clipboard
actual open class FirebaseAuthException(errorCode: String, message: String) : FirebaseException

An authentication failure, mirroring com.google.firebase.auth.FirebaseAuthException; the subclasses group the causes, and errorCode names the exact one with the Android SDK's ERROR_* codes on every platform.

expect open class FirebaseAuthException(errorCode: String, message: String) : FirebaseException

An authentication failure, mirroring com.google.firebase.auth.FirebaseAuthException; the subclasses group the causes, and errorCode names the exact one with the Android SDK's ERROR_* codes on every platform.

actual open class FirebaseAuthException(errorCode: String, message: String) : FirebaseException

An authentication failure, mirroring com.google.firebase.auth.FirebaseAuthException; the subclasses group the causes, and errorCode names the exact one with the Android SDK's ERROR_* codes on every platform.

Link copied to clipboard

The credential is malformed, expired or wrong (including a wrong password or invalid email).

The credential is malformed, expired or wrong (including a wrong password or invalid email).

The credential is malformed, expired or wrong (including a wrong password or invalid email).

Link copied to clipboard

The user account is disabled, deleted or its token is no longer valid.

The user account is disabled, deleted or its token is no longer valid.

The user account is disabled, deleted or its token is no longer valid.

Phone verification needs an Activity on Android.

Phone verification needs an Activity on Android.

Phone verification needs an Activity on Android.

Link copied to clipboard
actual open class FirebaseAuthMultiFactorException(errorCode: String, message: String, resolver: MultiFactorResolver) : FirebaseAuthException

The sign-in requires a second factor; complete it with resolver.

expect open class FirebaseAuthMultiFactorException(errorCode: String, message: String, resolver: MultiFactorResolver) : FirebaseAuthException

The sign-in requires a second factor; complete it with resolver.

actual open class FirebaseAuthMultiFactorException(errorCode: String, message: String, resolver: MultiFactorResolver) : FirebaseAuthException

The sign-in requires a second factor; complete it with resolver.

The password does not meet the project's password policy; reason says which requirements it misses.

The password does not meet the project's password policy; reason says which requirements it misses.

The password does not meet the project's password policy; reason says which requirements it misses.

Link copied to clipboard

Provider id of Firebase itself, mirroring com.google.firebase.auth.FirebaseAuthProvider.

Link copied to clipboard

The operation requires a recent sign-in; FirebaseUser.reauthenticate first.

The operation requires a recent sign-in; FirebaseUser.reauthenticate first.

The operation requires a recent sign-in; FirebaseUser.reauthenticate first.

Link copied to clipboard
actual abstract class FirebaseAuthSettings

Test settings of a FirebaseAuth instance, mirroring com.google.firebase.auth.FirebaseAuthSettings.

expect abstract class FirebaseAuthSettings

Test settings of a FirebaseAuth instance, mirroring com.google.firebase.auth.FirebaseAuthSettings.

actual abstract class FirebaseAuthSettings

Test settings of a FirebaseAuth instance, mirroring com.google.firebase.auth.FirebaseAuthSettings.

Link copied to clipboard

The email or credential is already used by another account.

The email or credential is already used by another account.

The email or credential is already used by another account.

Link copied to clipboard

The password does not meet the project's policy; reason says why.

The password does not meet the project's policy; reason says why.

The password does not meet the project's policy; reason says why.

Link copied to clipboard
actual open class FirebaseAuthWebException(errorCode: String, message: String) : FirebaseAuthException

A web sign-in flow failed or was cancelled.

expect open class FirebaseAuthWebException(errorCode: String, message: String) : FirebaseAuthException

A web sign-in flow failed or was cancelled.

actual open class FirebaseAuthWebException(errorCode: String, message: String) : FirebaseAuthException

A web sign-in flow failed or was cancelled.

Link copied to clipboard
actual abstract class FirebaseUser : UserInfo

A signed-in user, mirroring com.google.firebase.auth.FirebaseUser from the Firebase Android SDK: its profile and provider data, and the account operations that need a signed-in user.

actual abstract class FirebaseUser : UserInfo
expect abstract class FirebaseUser : UserInfo

A signed-in user, mirroring com.google.firebase.auth.FirebaseUser from the Firebase Android SDK: its profile and provider data, and the account operations that need a signed-in user.

actual abstract class FirebaseUser : UserInfo
actual abstract class FirebaseUser : UserInfo
Link copied to clipboard

When an account was created and last signed in, mirroring com.google.firebase.auth.FirebaseUserMetadata.

Link copied to clipboard
class GetTokenResult(val token: String?, val claims: Map<String, Any?>)

An ID token and its claims, mirroring com.google.firebase.auth.GetTokenResult.

Link copied to clipboard

A GitHub credential from GithubAuthProvider.

A GitHub credential from GithubAuthProvider.

A GitHub credential from GithubAuthProvider.

Link copied to clipboard
actual class GithubAuthProvider

GitHub credentials, mirroring com.google.firebase.auth.GithubAuthProvider.

expect class GithubAuthProvider

GitHub credentials, mirroring com.google.firebase.auth.GithubAuthProvider.

actual class GithubAuthProvider

GitHub credentials, mirroring com.google.firebase.auth.GithubAuthProvider.

Link copied to clipboard

A Google credential from GoogleAuthProvider.

A Google credential from GoogleAuthProvider.

A Google credential from GoogleAuthProvider.

Link copied to clipboard
actual class GoogleAuthProvider

Google credentials, mirroring com.google.firebase.auth.GoogleAuthProvider.

expect class GoogleAuthProvider

Google credentials, mirroring com.google.firebase.auth.GoogleAuthProvider.

actual class GoogleAuthProvider

Google credentials, mirroring com.google.firebase.auth.GoogleAuthProvider.

Link copied to clipboard
actual abstract class MultiFactor

The multi-factor enrollment of a user, mirroring com.google.firebase.auth.MultiFactor: enrolls a second factor from a MultiFactorAssertion and lists or removes the enrolled ones.

expect abstract class MultiFactor

The multi-factor enrollment of a user, mirroring com.google.firebase.auth.MultiFactor: enrolls a second factor from a MultiFactorAssertion and lists or removes the enrolled ones.

actual abstract class MultiFactor

The multi-factor enrollment of a user, mirroring com.google.firebase.auth.MultiFactor: enrolls a second factor from a MultiFactorAssertion and lists or removes the enrolled ones.

Link copied to clipboard
actual abstract class MultiFactorAssertion

A verified second factor to enroll or sign in with, mirroring com.google.firebase.auth.MultiFactorAssertion.

expect abstract class MultiFactorAssertion

A verified second factor to enroll or sign in with, mirroring com.google.firebase.auth.MultiFactorAssertion.

actual abstract class MultiFactorAssertion
Link copied to clipboard
actual abstract class MultiFactorInfo

An enrolled second factor, mirroring com.google.firebase.auth.MultiFactorInfo. Its JSON form is Android-only.

expect abstract class MultiFactorInfo

An enrolled second factor, mirroring com.google.firebase.auth.MultiFactorInfo. Its JSON form is Android-only.

actual abstract class MultiFactorInfo
Link copied to clipboard
actual abstract class MultiFactorResolver

Completes a sign-in that requires a second factor, mirroring com.google.firebase.auth.MultiFactorResolver; from FirebaseAuthMultiFactorException.resolver.

expect abstract class MultiFactorResolver

Completes a sign-in that requires a second factor, mirroring com.google.firebase.auth.MultiFactorResolver; from FirebaseAuthMultiFactorException.resolver.

actual abstract class MultiFactorResolver

Completes a sign-in that requires a second factor, mirroring com.google.firebase.auth.MultiFactorResolver; from FirebaseAuthMultiFactorException.resolver.

Link copied to clipboard
actual abstract class MultiFactorSession

A session for enrolling a second factor or signing in with one, mirroring com.google.firebase.auth.MultiFactorSession.

expect abstract class MultiFactorSession

A session for enrolling a second factor or signing in with one, mirroring com.google.firebase.auth.MultiFactorSession.

actual abstract class MultiFactorSession

A session for enrolling a second factor or signing in with one, mirroring com.google.firebase.auth.MultiFactorSession.

Link copied to clipboard
actual abstract class OAuthCredential : AuthCredential

A credential of a generic OAuth provider, mirroring com.google.firebase.auth.OAuthCredential.

expect abstract class OAuthCredential : AuthCredential

A credential of a generic OAuth provider, mirroring com.google.firebase.auth.OAuthCredential.

actual abstract class OAuthCredential : AuthCredential

A credential of a generic OAuth provider, mirroring com.google.firebase.auth.OAuthCredential.

Link copied to clipboard

A generic OAuth provider (Microsoft, Apple, Yahoo, or any OpenID Connect provider), mirroring com.google.firebase.auth.OAuthProvider: built with Builder or the oAuthProvider extension, its credentials with CredentialBuilder or the oAuthCredential extension.

A generic OAuth provider (Microsoft, Apple, Yahoo, or any OpenID Connect provider), mirroring com.google.firebase.auth.OAuthProvider: built with Builder or the oAuthProvider extension, its credentials with CredentialBuilder or the oAuthCredential extension.

A pure Kotlin value; the platform SDK's provider is built from it when it is used.

Link copied to clipboard

A phone number credential from PhoneAuthProvider, mirroring com.google.firebase.auth.PhoneAuthCredential.

A phone number credential from PhoneAuthProvider, mirroring com.google.firebase.auth.PhoneAuthCredential.

A phone number credential from PhoneAuthProvider, mirroring com.google.firebase.auth.PhoneAuthCredential.

Link copied to clipboard
actual class PhoneAuthOptions

The options of a phone number verification, mirroring com.google.firebase.auth.PhoneAuthOptions; built with Builder. The Android SDK also takes the Activity the verification is attached to and the auto-retrieval timeout.

expect class PhoneAuthOptions

The options of a phone number verification, mirroring com.google.firebase.auth.PhoneAuthOptions; built with Builder. The Android SDK also takes the Activity the verification is attached to and the auto-retrieval timeout.

actual class PhoneAuthOptions

A pure Kotlin value.

Link copied to clipboard
actual class PhoneAuthProvider

Phone number sign-in, mirroring com.google.firebase.auth.PhoneAuthProvider: verifyPhoneNumber sends an SMS code and reports to the PhoneAuthOptions callbacks; getCredential turns the verification id and the code the user entered into a credential.

expect class PhoneAuthProvider

Phone number sign-in, mirroring com.google.firebase.auth.PhoneAuthProvider: verifyPhoneNumber sends an SMS code and reports to the PhoneAuthOptions callbacks; getCredential turns the verification id and the code the user entered into a credential.

actual class PhoneAuthProvider

Phone number sign-in, mirroring com.google.firebase.auth.PhoneAuthProvider: verifyPhoneNumber sends an SMS code and reports to the PhoneAuthOptions callbacks; getCredential turns the verification id and the code the user entered into a credential.

Link copied to clipboard

A verified phone factor, mirroring com.google.firebase.auth.PhoneMultiFactorAssertion.

A verified phone factor, mirroring com.google.firebase.auth.PhoneMultiFactorAssertion.

Link copied to clipboard

Creates phone factor assertions, mirroring com.google.firebase.auth.PhoneMultiFactorGenerator.

Creates phone factor assertions, mirroring com.google.firebase.auth.PhoneMultiFactorGenerator.

Creates phone factor assertions, mirroring com.google.firebase.auth.PhoneMultiFactorGenerator.

Link copied to clipboard
actual class PhoneMultiFactorInfo(uid: String, displayName: String?, enrollmentTimestamp: Long, phoneNumber: String) : MultiFactorInfo

An enrolled phone factor, mirroring com.google.firebase.auth.PhoneMultiFactorInfo.

expect class PhoneMultiFactorInfo(uid: String, displayName: String?, enrollmentTimestamp: Long, phoneNumber: String) : MultiFactorInfo

An enrolled phone factor, mirroring com.google.firebase.auth.PhoneMultiFactorInfo.

actual class PhoneMultiFactorInfo(val uid: String, val displayName: String?, val enrollmentTimestamp: Long, val phoneNumber: String) : MultiFactorInfo

An enrolled phone factor, mirroring com.google.firebase.auth.PhoneMultiFactorInfo.

Link copied to clipboard

A Google Play Games credential from PlayGamesAuthProvider, mirroring com.google.firebase.auth.PlayGamesAuthCredential. Play Games sign-in exists only on Android, so there is no such credential on the other platforms.

A Google Play Games credential from PlayGamesAuthProvider, mirroring com.google.firebase.auth.PlayGamesAuthCredential. Play Games sign-in exists only on Android, so there is no such credential on the other platforms.

Never created on these platforms: their SDKs have no Play Games sign-in, so PlayGamesAuthProvider.getCredential fails.

Link copied to clipboard

Google Play Games credentials, mirroring com.google.firebase.auth.PlayGamesAuthProvider. Play Games sign-in exists only on Android: the Apple and JS SDKs have no Play Games provider, so getCredential fails there.

Google Play Games credentials, mirroring com.google.firebase.auth.PlayGamesAuthProvider. Play Games sign-in exists only on Android: the Apple and JS SDKs have no Play Games provider, so getCredential fails there.

Google Play Games credentials, mirroring com.google.firebase.auth.PlayGamesAuthProvider. Play Games sign-in exists only on Android: the Apple and JS SDKs have no Play Games provider, so getCredential fails there.

Google Play Games credentials, mirroring com.google.firebase.auth.PlayGamesAuthProvider. Play Games sign-in exists only on Android: the Apple and JS SDKs have no Play Games provider, so getCredential fails there.

Google Play Games credentials, mirroring com.google.firebase.auth.PlayGamesAuthProvider. Play Games sign-in exists only on Android: the Apple and JS SDKs have no Play Games provider, so getCredential fails there.

Link copied to clipboard

The result of FirebaseAuth.fetchSignInMethodsForEmail, mirroring com.google.firebase.auth.SignInMethodQueryResult.

Link copied to clipboard
actual class TotpMultiFactorAssertion(oneTimePassword: String, secret: TotpSecret?, enrollmentId: String?) : MultiFactorAssertion

A verified TOTP factor, mirroring com.google.firebase.auth.TotpMultiFactorAssertion; usually created with TotpMultiFactorGenerator.getAssertionForEnrollment or TotpMultiFactorGenerator.getAssertionForSignIn, which call this constructor with the secret or the enrollmentId respectively.

expect class TotpMultiFactorAssertion(oneTimePassword: String, secret: TotpSecret?, enrollmentId: String?) : MultiFactorAssertion

A verified TOTP factor, mirroring com.google.firebase.auth.TotpMultiFactorAssertion; usually created with TotpMultiFactorGenerator.getAssertionForEnrollment or TotpMultiFactorGenerator.getAssertionForSignIn, which call this constructor with the secret or the enrollmentId respectively.

actual class TotpMultiFactorAssertion(oneTimePassword: String, secret: TotpSecret?, enrollmentId: String?) : MultiFactorAssertion

The platform SDKs only create TOTP assertions through their generators, so the SDK's assertion is made when this one is first used: for enrolling secret when it is set, otherwise for signing in with enrollmentId.

Link copied to clipboard

Creates TOTP factor secrets and assertions, mirroring com.google.firebase.auth.TotpMultiFactorGenerator.

Creates TOTP factor secrets and assertions, mirroring com.google.firebase.auth.TotpMultiFactorGenerator.

Creates TOTP factor secrets and assertions, mirroring com.google.firebase.auth.TotpMultiFactorGenerator.

Link copied to clipboard

An enrolled TOTP (authenticator app) factor, mirroring com.google.firebase.auth.TotpMultiFactorInfo.

An enrolled TOTP (authenticator app) factor, mirroring com.google.firebase.auth.TotpMultiFactorInfo.

An enrolled TOTP (authenticator app) factor, mirroring com.google.firebase.auth.TotpMultiFactorInfo.

Link copied to clipboard
actual interface TotpSecret

A TOTP secret to enroll an authenticator app with, mirroring com.google.firebase.auth.TotpSecret.

actual interface TotpSecret

The iOS SDK's FIRTOTPSecret exposes the shared secret, the QR code URL and the OTP app hand-off only: the hash algorithm and the code length are read from the QR code URL, and the other parameters throw. The iOS SDK provides TOTP on iOS only; on tvOS no secret can be generated.

expect interface TotpSecret

A TOTP secret to enroll an authenticator app with, mirroring com.google.firebase.auth.TotpSecret.

actual interface TotpSecret

The JS SDK's TotpSecret has every parameter but the session, which it keeps private.

actual interface TotpSecret

The JS SDK's TotpSecret has every parameter but the session, which it keeps private.

Link copied to clipboard

A Twitter credential from TwitterAuthProvider.

A Twitter credential from TwitterAuthProvider.

A Twitter credential from TwitterAuthProvider.

Link copied to clipboard
actual class TwitterAuthProvider

Twitter credentials, mirroring com.google.firebase.auth.TwitterAuthProvider.

expect class TwitterAuthProvider

Twitter credentials, mirroring com.google.firebase.auth.TwitterAuthProvider.

actual class TwitterAuthProvider

Twitter credentials, mirroring com.google.firebase.auth.TwitterAuthProvider.

Link copied to clipboard
actual interface UserInfo

The profile of a user from one provider, mirroring com.google.firebase.auth.UserInfo. The photo URL is Android-only.

expect interface UserInfo

The profile of a user from one provider, mirroring com.google.firebase.auth.UserInfo. The photo URL is Android-only.

actual interface UserInfo

The profile of a user from one provider, mirroring com.google.firebase.auth.UserInfo. The photo URL is Android-only.

Link copied to clipboard

A profile update, mirroring com.google.firebase.auth.UserProfileChangeRequest; built with Builder or the userProfileChangeRequest extension. The photo URI is Android-only.

A profile update, mirroring com.google.firebase.auth.UserProfileChangeRequest; built with Builder or the userProfileChangeRequest extension. The photo URI is Android-only.

A pure Kotlin value: only the fields that were set are updated.

Properties

Link copied to clipboard

The FirebaseAuth of the default FirebaseApp; the Android SDK's Firebase.auth.

Link copied to clipboard
val AuthCredential.ios: FIRAuthCredential

The iOS SDK's credential behind a credential of the layer.

Link copied to clipboard

The JS SDK's credential behind a credential of the layer.

The JS SDK's credential behind a credential of the layer.

Functions

Link copied to clipboard

ActionCodeSettings built with init, as the Android SDK's actionCodeSettings.

Link copied to clipboard
Link copied to clipboard

An OAuth AuthCredential for providerId built with init, as the Android SDK's oAuthCredential.

Link copied to clipboard

An OAuthProvider for providerId built with init, as the Android SDK's oAuthProvider.

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

An OAuthProvider for providerId and firebaseAuth built with init, as the Android SDK's oAuthProvider.

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
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.

Link copied to clipboard

A UserProfileChangeRequest built with init, as the Android SDK's userProfileChangeRequest.