• BlackBerry Spark AppSecure
  • Security library for Android applications
  • 0.7.915.0
ErrorType Enum Reference

Enumeration for JSON Web Token (JWT) authorization related errors. More...

Description

This enumeration represents errors that may be encountered when using JWT authorization. Each enumeration has a brief description associated with it and an ErrorDomain which can be used to troubleshoot configuration issues.

Classes

enum  ErrorDomain
 Enumeration for JSON Web Token (JWT) authorization related error domains. More...
 

Public Attributes

 ErrorTypeGeneralError =("Unspecified error")
 Unspecified Error.
 
 ErrorTypeTokenInvalidMetadata =("Invalid metadata")
 Invalid Metadata.
 
 ErrorTypeTokenInvalidRequest =("Invalid request")
 Invalid request.
 
 ErrorTypeTokenInvalidScope =("Invalid scope")
 Invalid scope.
 
 ErrorTypeInvalidDiscoveryUrl =("Invalid discovery url or token issuer")
 Invalid discovery url or token issuer.
 
 ErrorTypeInvalidIssuer =("JWT Bearer does not contain the correct issuer")
 JWT Bearer does not contain the correct issuer.
 
 ErrorTypeInvalidType =("Invalid JWT type, expected a string")
 Invalid JWT type, expected a string.
 
 ErrorTypeInvalidFormat =("Invalid JWT format")
 Invalid JWT format.
 
 ErrorTypeNoBearerPolicyForClient =("No bearer policy found for client")
 No bearer policy found for client.
 
 ErrorTypeNoIssuer =("JWT Bearer does not have issuer")
 JWT Bearer does not have issuer.
 
 ErrorTypeNoAlg =("JWT Bearer header is missing alg property")
 JWT Bearer header is missing alg (algorithm) property.
 
 ErrorTypeAlgNone =("JWT Bearer token must not have alg = none in header")
 JWT Bearer token must not have alg (algorithm) = none in header.
 
 ErrorTypeInvalidPayload =("JWT Bearer payload is no of JWT type")
 JWT Bearer payload is no of JWT type.
 
 ErrorTypeNoExpiration =("Expiration must be specified in the assertion JWT")
 Expiration must be specified in the assertion JWT.
 
 ErrorTypeTokenHasExpired =("JWT Bearer expired")
 JWT Bearer expired. More...
 
 ErrorTypeInvalidExpiration =("JWT Bearer has an invalid exp value")
 JWT Bearer has an invalid exp (expiration) value.
 
 ErrorTypeInvalidNbf =("JWT Bearer has an invalid nbf value")
 JWT Bearer has an invalid nbf (not before) value.
 
 ErrorTypeNotActiveYet =("JWT Bearer not active yet")
 JWT Bearer not active yet.
 
 ErrorTypeInvalidIat =("JWT Bearer has an invalid iat value")
 JWT Bearer has an invalid iat (issued at) value.
 
 ErrorTypeIssuedFuture =("JWT Bearer issued in the future")
 JWT Bearer issued in the future.
 
 ErrorTypeTokenInvalidClientID =("JWT Application Client ID is not valid")
 JWT Application Client ID is not valida.
 
 ErrorTypeAzpClaimMismatch =("JWT Bearer azp claim does not match expected client")
 JWT Bearer azp (Authorized party) claim does not match expected client.
 
 ErrorTypeClientIDClaimMismatch =("JWT Bearer client_id claim does not match expected clients")
 JWT Bearer client_id claim does not match expected clients.
 
 ErrorTypeClientIDNoClaim =("JWT Bearer client_id does not contain claim")
 JWT Bearer client_id does not contain claim.
 
 ErrorTypeBearerClaimMismatch =("JWT Bearer claim mismatch")
 JWT Bearer claim mismatch.
 
 ErrorTypeBearerMissingAudClaim =("JWT Bearer does not contain an aud claim")
 JWT Bearer does not contain an aud claim.
 
 ErrorTypeScopeClaimMismatch =("JWT Bearer scope claim mismatch")
 JWT Bearer scope claim mismatch.
 
 ErrorTypeInvalidScope =("JWT Bearer token does not have required scope")
 JWT Bearer token does not have required scope.
 
 ErrorTypeNoFurtherInformation =("Success, or no error information available")
 Success, or no error information available.
 
 ErrorTypeOtherHttpResponse =("Server returned HTTP status code")
 BlackBerry server responded with other HTTP status code.
 
 ErrorTypeNoResponseFromServer =("No response from server (possible network issue)")
 Network issue connecting to BlackBerry's Servers.
 

Member Data Documentation

◆ ErrorTypeTokenHasExpired

ErrorTypeTokenHasExpired =("JWT Bearer expired")

This error is handled by the runtime.