AuthUserRecord extension type

The UserRecord passed to auth blocking functions from the identity platform.

on
Implemented types
Available extensions

Properties

customClaims JSObject?
The user's custom claims object if available, typically used to define user roles and propagated to an authenticated user's ID token.
no setter
disabled bool
Whether or not the user is disabled: true for disabled; false for enabled.
no setter
displayName String?
The user's display name.
no setter
email String?
The user's primary email, if set.
no setter
emailVerified bool
Whether or not the user's primary email is verified.
no setter
hashCode int
The hash code for this object.
no setterinherited
metadata AuthUserMetadata
Additional metadata about the user.
no setter
multiFactor AuthMultiFactorSettings?
The multi-factor related properties for the current user, if available.
no setter
passwordHash String?
The user's hashed password (base64-encoded).
no setter
passwordSalt String?
The user's password salt (base64-encoded).
no setter
phoneNumber String?
The user's primary phone number, if set.
no setter
photoUrl String?
The user's photo URL.
no setter
providerData JSArray<AuthUserInfo>
An array of providers (for example, Google, Facebook) linked to the user.
no setter
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.
no setter
tokensValidAfterTime String?
The date the user's tokens are valid after, formatted as a UTC string.
no setter
uid String
The user's uid.
no setter

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