AWSCognitoIdentityProviderGetUserResponse
Objective-C
@interface AWSCognitoIdentityProviderGetUserResponse
Swift
class AWSCognitoIdentityProviderGetUserResponse
Represents the response from the server from the request to get information about the user.
Required parameters: [Username, UserAttributes]
-
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn’t provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> *_Nullable MFAOptions;Swift
var mfaOptions: [AWSCognitoIdentityProviderMFAOptionType]? { get set } -
The user’s preferred MFA setting.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable preferredMfaSetting;Swift
var preferredMfaSetting: String? { get set } -
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the
custom:prefix to the attribute name.Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> *_Nullable userAttributes;Swift
var userAttributes: [AWSCognitoIdentityProviderAttributeType]? { get set } -
The MFA options that are activated for the user. The possible values in this list are
SMS_MFAandSOFTWARE_TOKEN_MFA.Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable userMFASettingList;Swift
var userMFASettingList: [String]? { get set } -
The username of the user that you requested.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable username;Swift
var username: String? { get set }
View on GitHub
Install in Dash
AWSCognitoIdentityProviderGetUserResponse Class Reference