FronteggUser class

Represents a user in the Frontegg authentication system.

Constructors

FronteggUser({required String id, required String email, required bool mfaEnrolled, required String name, required String profilePictureUrl, String? phoneNumber, String? profileImage, required List<FronteggUserRole> roles, required List<FronteggUserRolePermission> permissions, required String tenantId, required List<String> tenantIds, required List<FronteggTenant> tenants, required FronteggTenant activeTenant, required bool activatedForTenant, String? metadata, required bool verified, required bool superUser})
Creates a FronteggUser instance with the given parameters.
const
FronteggUser.fromMap(Map<Object?, Object?> map)
factory

Properties

activatedForTenant bool
Indicates whether the user is activated for the current tenant.
final
activeTenant FronteggTenant
The currently active tenant for the user.
final
email String
Email address of the user.
final
hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier for the user.
final
metadata String?
Optional metadata associated with the user.
final
mfaEnrolled bool
Indicates whether the user has enrolled in multi-factor authentication (MFA).
final
name String
Full name of the user.
final
permissions List<FronteggUserRolePermission>
List of permissions assigned to the user.
final
phoneNumber String?
Optional phone number of the user.
final
profileImage String?
Optional profile image URL of the user.
final
profilePictureUrl String
URL of the user's profile picture.
final
roles List<FronteggUserRole>
List of roles assigned to the user.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superUser bool
Indicates whether the user has super-user privileges.
final
tenantId String
The tenant ID the user is primarily associated with.
final
tenantIds List<String>
List of tenant IDs the user has access to.
final
tenants List<FronteggTenant>
List of tenants the user belongs to.
final
verified bool
Indicates whether the user's email is verified.
final

Methods

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

Operators

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