UserRecord class

Constructors

UserRecord({required String uid, required String? email, required bool emailVerified, required String? displayName, required String? photoUrl, required String? phoneNumber, required bool disabled, required UserMetadata metadata, required List<UserInfo> providerData, required String? passwordHash, required String? passwordSalt, required Map<String, Object?>? customClaims, required String? tenantId, required DateTime? tokensValidAfterTime, required MultiFactorSettings? multiFactor})
UserRecord.fromResponse(GoogleCloudIdentitytoolkitV1UserInfo response)
factory

Properties

customClaims Map<String, Object?>?
The user's custom claims object if available, typically used to define user roles and propagated to an authenticated user's ID token. This is set via _BaseAuth.setCustomUserClaims.
final
disabled bool
Whether or not the user is disabled: true for disabled; false for enabled.
final
displayName String?
The user's display name.
final
email String?
The user's primary email, if set.
final
emailVerified bool
Whether or not the user's primary email is verified.
final
hashCode int
The hash code for this object.
no setterinherited
metadata UserMetadata
Additional metadata about the user.
final
multiFactor MultiFactorSettings?
The multi-factor related properties for the current user, if available.
final
passwordHash String?
The user's hashed password (base64-encoded), only if Firebase Auth hashing algorithm (SCRYPT) is used. If a different hashing algorithm had been used when uploading this user, as is typical when migrating from another Auth system, this will be an empty string. If no password is set, this is null. This is only available when the user is obtained from _BaseAuth.listUsers.
final
passwordSalt String?
The user's password salt (base64-encoded), only if Firebase Auth hashing algorithm (SCRYPT) is used. If a different hashing algorithm had been used to upload this user, typical when migrating from another Auth system, this will be an empty string. If no password is set, this is null. This is only available when the user is obtained from _BaseAuth.listUsers.
final
phoneNumber String?
The user's primary phone number, if set.
final
photoUrl String?
The user's photo URL.
final
providerData List<UserInfo>
An array of providers (for example, Google, Facebook) linked to the user.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tenantId String?
The ID of the tenant the user belongs to, if available.
final
tokensValidAfterTime DateTime?
The date the user's tokens are valid after, formatted as a UTC string. This is updated every time the user's refresh token are revoked either from the _BaseAuth.revokeRefreshTokens. API or from the Firebase Auth backend on big account changes (password resets, password or email updates, etc).
final
uid String
The user's uid.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited