FirebaseUser

actual abstract class FirebaseUser : UserInfo(source)

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.

Not mirrored: the Activity-bound provider flows and the photo URL, an Android Uri (see api/android-sdk/exclusions.txt).

actual abstract class FirebaseUser : UserInfo(source)
expect abstract class FirebaseUser : UserInfo(source)

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.

Not mirrored: the Activity-bound provider flows and the photo URL, an Android Uri (see api/android-sdk/exclusions.txt).

actual abstract class FirebaseUser : UserInfo(source)
actual abstract class FirebaseUser : UserInfo(source)

Constructors

Link copied to clipboard
actual constructor()
actual constructor()
expect constructor()
actual constructor()
actual constructor()

Properties

Link copied to clipboard
actual abstract val displayName: String?
actual abstract val displayName: String?
expect abstract val displayName: String?
actual abstract val displayName: String?
actual abstract val displayName: String?
Link copied to clipboard
actual abstract val email: String?
actual abstract val email: String?
expect abstract val email: String?
actual abstract val email: String?
actual abstract val email: String?
Link copied to clipboard
abstract val ios: FIRUser

The underlying Firebase iOS SDK object.

Link copied to clipboard
actual abstract val isAnonymous: Boolean

Whether the user signed in anonymously.

actual abstract val isAnonymous: Boolean

Whether the user signed in anonymously.

expect abstract val isAnonymous: Boolean

Whether the user signed in anonymously.

actual abstract val isAnonymous: Boolean

Whether the user signed in anonymously.

actual abstract val isAnonymous: Boolean

Whether the user signed in anonymously.

Link copied to clipboard
actual abstract val isEmailVerified: Boolean
actual abstract val isEmailVerified: Boolean
expect abstract val isEmailVerified: Boolean
actual abstract val isEmailVerified: Boolean
actual abstract val isEmailVerified: Boolean
Link copied to clipboard
abstract val js: User

The underlying Firebase JS SDK object.

abstract val js: User

The underlying Firebase JS SDK object.

Link copied to clipboard
actual abstract val metadata: FirebaseUserMetadata?

When the account was created and last signed in, or null when unknown.

actual abstract val metadata: FirebaseUserMetadata?

When the account was created and last signed in, or null when unknown.

expect abstract val metadata: FirebaseUserMetadata?

When the account was created and last signed in, or null when unknown.

actual abstract val metadata: FirebaseUserMetadata?

When the account was created and last signed in, or null when unknown.

actual abstract val metadata: FirebaseUserMetadata?

When the account was created and last signed in, or null when unknown.

Link copied to clipboard
actual abstract val multiFactor: MultiFactor

The multi-factor enrollment of the user.

actual abstract val multiFactor: MultiFactor

The multi-factor enrollment of the user.

expect abstract val multiFactor: MultiFactor

The multi-factor enrollment of the user.

actual abstract val multiFactor: MultiFactor

The multi-factor enrollment of the user.

actual abstract val multiFactor: MultiFactor

The multi-factor enrollment of the user.

Link copied to clipboard
actual abstract val phoneNumber: String?
actual abstract val phoneNumber: String?
expect abstract val phoneNumber: String?
actual abstract val phoneNumber: String?
actual abstract val phoneNumber: String?
Link copied to clipboard
abstract val photoUrl: Uri?

Android only: the profile photo as a Uri.

abstract val photoUrl: String?

The profile photo URL.

abstract val photoUrl: String?

The profile photo URL.

abstract val photoUrl: String?

The profile photo URL.

Link copied to clipboard
actual abstract val providerData: List<UserInfo>

The profile of the user from each linked provider.

actual abstract val providerData: List<UserInfo>

The profile of the user from each linked provider.

expect abstract val providerData: List<UserInfo>

The profile of the user from each linked provider.

actual abstract val providerData: List<UserInfo>

The profile of the user from each linked provider.

actual abstract val providerData: List<UserInfo>

The profile of the user from each linked provider.

Link copied to clipboard
actual abstract val providerId: String
actual abstract val providerId: String
expect abstract val providerId: String
actual abstract val providerId: String
actual abstract val providerId: String
Link copied to clipboard
actual abstract val tenantId: String?

The tenant the user signed in to, or null.

actual abstract val tenantId: String?

The tenant the user signed in to, or null.

expect abstract val tenantId: String?

The tenant the user signed in to, or null.

actual abstract val tenantId: String?

The tenant the user signed in to, or null.

actual abstract val tenantId: String?

The tenant the user signed in to, or null.

Link copied to clipboard
actual abstract val uid: String
actual abstract val uid: String
expect abstract val uid: String
actual abstract val uid: String
actual abstract val uid: String

Functions

Link copied to clipboard
actual fun delete(): Task<Nothing?>

Deletes the account; requires a recent sign-in.

actual fun delete(): Task<Nothing?>

Deletes the account; requires a recent sign-in.

expect fun delete(): Task<Nothing?>

Deletes the account; requires a recent sign-in.

actual fun delete(): Task<Nothing?>

Deletes the account; requires a recent sign-in.

actual fun delete(): Task<Nothing?>

Deletes the account; requires a recent sign-in.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
actual fun getIdToken(forceRefresh: Boolean): Task<GetTokenResult>

The ID token of the user, refreshed when forceRefresh.

actual fun getIdToken(forceRefresh: Boolean): Task<GetTokenResult>

The ID token of the user, refreshed when forceRefresh.

expect fun getIdToken(forceRefresh: Boolean): Task<GetTokenResult>

The ID token of the user, refreshed when forceRefresh.

actual fun getIdToken(forceRefresh: Boolean): Task<GetTokenResult>

The ID token of the user, refreshed when forceRefresh.

actual fun getIdToken(forceRefresh: Boolean): Task<GetTokenResult>

The ID token of the user, refreshed when forceRefresh.

Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard

Links credential to the account.

Links credential to the account.

Links credential to the account.

Links credential to the account.

Links credential to the account.

Link copied to clipboard
actual fun reauthenticate(credential: AuthCredential): Task<Nothing?>

Re-authenticates with credential, for the operations that require a recent sign-in.

actual fun reauthenticate(credential: AuthCredential): Task<Nothing?>

Re-authenticates with credential, for the operations that require a recent sign-in.

expect fun reauthenticate(credential: AuthCredential): Task<Nothing?>

Re-authenticates with credential, for the operations that require a recent sign-in.

actual fun reauthenticate(credential: AuthCredential): Task<Nothing?>

Re-authenticates with credential, for the operations that require a recent sign-in.

actual fun reauthenticate(credential: AuthCredential): Task<Nothing?>

Re-authenticates with credential, for the operations that require a recent sign-in.

Link copied to clipboard

Re-authenticates with credential and completes with the result.

Re-authenticates with credential and completes with the result.

Re-authenticates with credential and completes with the result.

Re-authenticates with credential and completes with the result.

Re-authenticates with credential and completes with the result.

Link copied to clipboard
actual fun reload(): Task<Nothing?>

Refreshes the profile from the backend.

actual fun reload(): Task<Nothing?>

Refreshes the profile from the backend.

expect fun reload(): Task<Nothing?>

Refreshes the profile from the backend.

actual fun reload(): Task<Nothing?>

Refreshes the profile from the backend.

actual fun reload(): Task<Nothing?>

Refreshes the profile from the backend.

Link copied to clipboard

Sends a verification email to the user's address.

actual fun sendEmailVerification(actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email whose link follows actionCodeSettings, when given.

Sends a verification email to the user's address.

actual fun sendEmailVerification(actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email whose link follows actionCodeSettings, when given.

Sends a verification email to the user's address.

expect fun sendEmailVerification(actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email whose link follows actionCodeSettings, when given.

Sends a verification email to the user's address.

actual fun sendEmailVerification(actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email whose link follows actionCodeSettings, when given.

Sends a verification email to the user's address.

actual fun sendEmailVerification(actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email whose link follows actionCodeSettings, when given.

Link copied to clipboard

Android only: links provider through a web flow started from activity.

Android only: re-authenticates with provider through a web flow started from activity.

Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String
Link copied to clipboard
actual fun unlink(provider: String): Task<AuthResult>

Unlinks the provider provider and completes with the updated user.

actual fun unlink(provider: String): Task<AuthResult>

Unlinks the provider provider and completes with the updated user.

expect fun unlink(provider: String): Task<AuthResult>

Unlinks the provider provider and completes with the updated user.

actual fun unlink(provider: String): Task<AuthResult>

Unlinks the provider provider and completes with the updated user.

actual fun unlink(provider: String): Task<AuthResult>

Unlinks the provider provider and completes with the updated user.

Link copied to clipboard
actual fun updateEmail(email: String): Task<Nothing?>

Sets the email address; requires a recent sign-in.

actual fun updateEmail(email: String): Task<Nothing?>

Sets the email address; requires a recent sign-in.

expect fun updateEmail(email: String): Task<Nothing?>

Sets the email address; requires a recent sign-in.

actual fun updateEmail(email: String): Task<Nothing?>

Sets the email address; requires a recent sign-in.

actual fun updateEmail(email: String): Task<Nothing?>

Sets the email address; requires a recent sign-in.

Link copied to clipboard
actual fun updatePassword(password: String): Task<Nothing?>

Sets the password; requires a recent sign-in.

actual fun updatePassword(password: String): Task<Nothing?>

Sets the password; requires a recent sign-in.

expect fun updatePassword(password: String): Task<Nothing?>

Sets the password; requires a recent sign-in.

actual fun updatePassword(password: String): Task<Nothing?>

Sets the password; requires a recent sign-in.

actual fun updatePassword(password: String): Task<Nothing?>

Sets the password; requires a recent sign-in.

Link copied to clipboard

Sets the phone number from a verified credential.

Sets the phone number from a verified credential.

Sets the phone number from a verified credential.

Sets the phone number from a verified credential.

Sets the phone number from a verified credential.

Link copied to clipboard

Applies request to the profile.

Applies request to the profile.

Applies request to the profile.

Applies request to the profile.

Applies request to the profile.

Link copied to clipboard
actual fun verifyBeforeUpdateEmail(newEmail: String): Task<Nothing?>

Sends a verification email to newEmail, which becomes the address once verified.

actual fun verifyBeforeUpdateEmail(newEmail: String, actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email to newEmail whose link follows actionCodeSettings, when given.

actual fun verifyBeforeUpdateEmail(newEmail: String): Task<Nothing?>

Sends a verification email to newEmail, which becomes the address once verified.

actual fun verifyBeforeUpdateEmail(newEmail: String, actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email to newEmail whose link follows actionCodeSettings, when given.

expect fun verifyBeforeUpdateEmail(newEmail: String): Task<Nothing?>

Sends a verification email to newEmail, which becomes the address once verified.

expect fun verifyBeforeUpdateEmail(newEmail: String, actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email to newEmail whose link follows actionCodeSettings, when given.

actual fun verifyBeforeUpdateEmail(newEmail: String): Task<Nothing?>

Sends a verification email to newEmail, which becomes the address once verified.

actual fun verifyBeforeUpdateEmail(newEmail: String, actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email to newEmail whose link follows actionCodeSettings, when given.

actual fun verifyBeforeUpdateEmail(newEmail: String): Task<Nothing?>

Sends a verification email to newEmail, which becomes the address once verified.

actual fun verifyBeforeUpdateEmail(newEmail: String, actionCodeSettings: ActionCodeSettings?): Task<Nothing?>

Sends a verification email to newEmail whose link follows actionCodeSettings, when given.