Constants

The following constants are available globally.

  • Undocumented

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWSCognitoAuthSDKVersion

    Swift

    let AWSCognitoAuthSDKVersion: String
  • The error domain for AWSCognitoAuth errors.

    • AWSCognitoAuthClientErrorUnknown - Unknown error.
    • AWSCognitoAuthClientErrorUserCanceledOperation - User canceled flow.
    • AWSCognitoAuthClientErrorLoadingPageFailed - A necessary page failed to load.
    • AWSCognitoAuthClientErrorBadRequest - A parameter was missing or invalid.
    • AWSCognitoAuthClientErrorSecurityReason - The security of this request could not be guaranteed.
    • AWSCognitoAuthClientInvalidAuthenticationDelegate - The AWSCognitoAuthDelegate delegate is not setup or returned an invalid value.
    • AWSCognitoAuthClientNoIdTokenIssued - If no id token was issued. For future use.
    • AWSCognitoAuthClientErrorExpiredRefreshToken - If the refresh token is expired.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWSCognitoAuthErrorDomain

    Swift

    let AWSCognitoAuthErrorDomain: String