AWSCognitoIdentityProviderUserType

Objective-C

@interface AWSCognitoIdentityProviderUserType

Swift

class AWSCognitoIdentityProviderUserType

The user type.

  • A container with information about the user type attributes.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderAttributeType *> *_Nullable attributes;

    Swift

    var attributes: [AWSCognitoIdentityProviderAttributeType]? { get set }
  • Specifies whether the user is enabled.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enabled;

    Swift

    var enabled: NSNumber? { get set }
  • The MFA options for the user.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> *_Nullable MFAOptions;

    Swift

    var mfaOptions: [AWSCognitoIdentityProviderMFAOptionType]? { get set }
  • The creation date of the user.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable userCreateDate;

    Swift

    var userCreateDate: Date? { get set }
  • The last modified date of the user.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable userLastModifiedDate;

    Swift

    var userLastModifiedDate: Date? { get set }
  • The user status. Can be one of the following:

    • UNCONFIRMED - User has been created but not confirmed.

    • CONFIRMED - User has been confirmed.

    • ARCHIVED - User is no longer active.

    • COMPROMISED - User is disabled due to a potential security threat.

    • UNKNOWN - User status is not known.

    • RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.

    • FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.

    Declaration

    Objective-C

    @property (nonatomic) AWSCognitoIdentityProviderUserStatusType userStatus;

    Swift

    var userStatus: AWSCognitoIdentityProviderUserStatusType { get set }
  • The user name of the user you wish to describe.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable username;

    Swift

    var username: String? { get set }