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
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
actual open class ActionCodeInfo
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
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
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
expect class ActionCodeUrl

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

actual class 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
expect abstract class AuthCredential

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

actual abstract class 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.

Link copied to clipboard
actual class EmailAuthProvider
expect class EmailAuthProvider

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

actual class EmailAuthProvider
actual class EmailAuthProvider
Link copied to clipboard

A Facebook credential from FacebookAuthProvider.

Link copied to clipboard

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

Link copied to clipboard
actual abstract class 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
actual abstract class FederatedAuthProvider
Link copied to clipboard
actual class FirebaseAuth
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
actual class FirebaseAuth
Link copied to clipboard

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
expect open class FirebaseAuthEmailException(errorCode: String, message: String) : FirebaseAuthException

An email could not be sent.

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

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
actual open class FirebaseAuthException(errorCode: String, message: String)
Link copied to clipboard

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.

Link copied to clipboard
actual open class FirebaseAuthMultiFactorException(errorCode: String, message: String, resolver: MultiFactorResolver) : FirebaseAuthException
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
actual open class FirebaseAuthMultiFactorException(errorCode: String, message: String, resolver: MultiFactorResolver) : FirebaseAuthException
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.

Link copied to clipboard
actual abstract class FirebaseAuthSettings
expect abstract class FirebaseAuthSettings

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

actual abstract class FirebaseAuthSettings
actual abstract class FirebaseAuthSettings
Link copied to clipboard

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.

Link copied to clipboard
actual open class FirebaseAuthWebException(errorCode: String, message: String) : FirebaseAuthException
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
actual open class FirebaseAuthWebException(errorCode: String, message: String) : FirebaseAuthException
Link copied to clipboard
actual abstract class FirebaseUser : UserInfo
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
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
open 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.

Link copied to clipboard
actual class GithubAuthProvider
expect class GithubAuthProvider

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

actual class GithubAuthProvider
actual class GithubAuthProvider
Link copied to clipboard

A Google credential from GoogleAuthProvider.

Link copied to clipboard
actual class GoogleAuthProvider
expect class GoogleAuthProvider

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

actual class GoogleAuthProvider
actual class GoogleAuthProvider
Link copied to clipboard
actual abstract class MultiFactor
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
actual abstract class MultiFactor
Link copied to clipboard
actual abstract class 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
actual abstract class MultiFactorAssertion
Link copied to clipboard
actual abstract class MultiFactorInfo
expect abstract class MultiFactorInfo

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

actual abstract class MultiFactorInfo
actual abstract class MultiFactorInfo
Link copied to clipboard
actual abstract class MultiFactorResolver
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
actual abstract class MultiFactorResolver
Link copied to clipboard
actual abstract class 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
actual abstract class MultiFactorSession
Link copied to clipboard
actual abstract class OAuthCredential : AuthCredential
expect abstract class OAuthCredential : AuthCredential

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

actual abstract class OAuthCredential : AuthCredential
actual abstract class OAuthCredential : AuthCredential
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 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.

Link copied to clipboard
actual class PhoneAuthOptions
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
actual class PhoneAuthOptions

A pure Kotlin value.

Link copied to clipboard
actual class PhoneAuthProvider
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
actual class PhoneAuthProvider
Link copied to clipboard

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

Link copied to clipboard

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
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(uid: String, displayName: String?, enrollmentTimestamp: Long, phoneNumber: String) : MultiFactorInfo
actual class PhoneMultiFactorInfo(val uid: String, val displayName: String?, val enrollmentTimestamp: Long, val phoneNumber: String) : MultiFactorInfo
Link copied to clipboard

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

Link copied to clipboard

A verified TOTP factor, mirroring com.google.firebase.auth.TotpMultiFactorAssertion.

Link copied to clipboard

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.

Link copied to clipboard
actual interface TotpSecret
expect interface TotpSecret

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

actual interface TotpSecret
actual interface TotpSecret
Link copied to clipboard

A Twitter credential from TwitterAuthProvider.

Link copied to clipboard
actual class TwitterAuthProvider
expect class TwitterAuthProvider

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

actual class TwitterAuthProvider
actual class TwitterAuthProvider
Link copied to clipboard
actual interface UserInfo
expect interface UserInfo

The profile of a user from one provider, mirroring com.google.firebase.auth.UserInfo.

actual interface UserInfo
actual interface UserInfo
Link copied to clipboard

A profile update, mirroring com.google.firebase.auth.UserProfileChangeRequest; built with Builder or the userProfileChangeRequest extension.

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

Properties

Link copied to clipboard
val <Error class: unknown class>.auth: FirebaseAuth

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

Link copied to clipboard
val AuthCredential.ios: <Error class: unknown class>

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
fun <Error class: unknown class>.auth(app: <Error class: unknown class>): FirebaseAuth
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 <Error class: unknown class>.setUIDelegate(delegate: <Error class: unknown class>?): <Error class: unknown class>

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.