AWSCognitoIdentityProviderAuthenticationResultType

Objective-C

@interface AWSCognitoIdentityProviderAuthenticationResultType

Swift

class AWSCognitoIdentityProviderAuthenticationResultType

The authentication result.

  • A valid access token that Amazon Cognito issued to the user who you want to authenticate.

    Declaration

    Objective-C

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

    Swift

    var accessToken: String? { get set }
  • The expiration period of the authentication result in seconds.

    Declaration

    Objective-C

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

    Swift

    var expiresIn: NSNumber? { get set }
  • The ID token.

    Declaration

    Objective-C

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

    Swift

    var idToken: String? { get set }
  • The new device metadata from an authentication result.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSCognitoIdentityProviderLatestDeviceMetadataType *_Nullable latestDeviceMetadata;

    Swift

    var latestDeviceMetadata: AWSCognitoIdentityProviderLatestDeviceMetadataType? { get set }
  • The refresh token.

    Declaration

    Objective-C

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

    Swift

    var refreshToken: String? { get set }
  • The token type.

    Declaration

    Objective-C

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

    Swift

    var tokenType: String? { get set }