GetUserResponse class

Represents the response from the server from the request to get information about the user.

Constructors

GetUserResponse({required List<AttributeType> userAttributes, required String username, List<MFAOptionType>? mFAOptions, String? preferredMfaSetting, List<String>? userMFASettingList})
GetUserResponse.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mFAOptions List<MFAOptionType>?
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
final
preferredMfaSetting String?
The user's preferred MFA setting.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAttributes List<AttributeType>
An array of name-value pairs representing user attributes.
final
userMFASettingList List<String>?
The MFA options that are enabled for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA.
final
username String
The user name of the user you wish to retrieve from the get user request.
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