AWSCognitoIdentityProviderAuthenticationResultType

@interface AWSCognitoIdentityProviderAuthenticationResultType

The authentication result.

  • The access token.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var tokenType: String? { get set }