JWTErrorReason

public enum JWTErrorReason

The possible underlying reasons a .JWTFailed error occurs.

  • malformedJWTFormat: The input text is not a valid JWT encoded string. Code 3016_2001.
  • unsupportedHeaderAlgorithm: The algorithm defined in the JWT header is not supported in the LINE SDK. Code 3016_2002.
  • claimVerifyingFailed: Verification for a certain key in the JWT payload does not pass. Code 3016_2003.
  • The input text is not a valid JWT encoded string. Code 3016_2001.

    Declaration

    Swift

    case malformedJWTFormat(string: String)
  • The algorithm defined in the JWT header is not supported in the LINE SDK. Code 3016_2002.

    Declaration

    Swift

    case unsupportedHeaderAlgorithm(name: String)
  • Verification for a certain key in the JWT payload does not pass. Code 3016_2003.

    Declaration

    Swift

    case claimVerifyingFailed(key: String, got: String, description: String)