KeycloakUser class
Represents a keycloak user, based on the model returned by a UserRepresentation from
the java keycloak api
Constructors
Properties
-
attributes
→ Map<
String, List< ?String> > -
A map of attributes
no setter
- createdTimestamp → int
-
The timestamp that the user is created
no setter
- email → String?
-
The email of the user
no setter
- emailVerified → bool?
-
If the user's email is verified
no setter
- enabled → bool
-
If the user is actually enabled
no setter
- firstName → String?
-
The first name of the user
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The id of the user
no setterinherited
- lastName → String?
-
The last name of the user
no setter
-
requiredActions
→ List<
String> -
A list of required actions by the user
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username → String
-
The username of the user
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAttributes(
Map< String, List< ? attributes) → voidString> > - Sets the attributes
-
setCreatedTimestamp(
int createdTimestamp) → void - Sets the created timestamp of the user
-
setEmail(
String? email) → void - Sets the email of the user
-
setEmailVerified(
bool? emailVerified) → void - Sets if the email is verified
-
setEnabled(
bool enabled) → void - Sets if the user is enabled
-
setFirstName(
String? firstName) → void - Sets the first name of the user
-
setId(
String id) → void -
Sets the id of the user
inherited
-
setLastName(
String? lastName) → void - Sets the last name of the user
-
setRequiredActions(
List< String> requiredActions) → void - Sets the required actions
-
setUsername(
String username) → void -
Sets the username of the user
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromKeycloakRep(
Map< String, dynamic> map) → KeycloakUser -
Converts a map into a
KeycloakUser. This map is based on the json returned by the keycloak java api.