ErrorDomain
@objc
public enum ErrorDomain : Int, CaseIterable, CustomStringConvertible
Enumeration for the JSON Web Token (JWT) authorization related error domains.
This enumeration represents the domain of an ErrorType
. The domain categories
subdivide errors into functional areas to facilitate troubleshooting.
-
App configuration issue.
There is an issue with your app configuration. Please check you have registered your application in BlackBerry myAccount and added the BlackBerry App Client ID to your Info.plist.
Please see the Developer Guide Getting Started section for setup instructions.
Declaration
Swift
case appConfig
-
There is a system issue.
Declaration
Swift
case system
-
Identity Provider configuration issue.
The configuration for your Identity Provider in BlackBerry myAccount doesn’t match the fields included in the JWT identity token presented to the runtime.
Please see the Developer Getting Started Guide for setup and troubleshooting instructions.
Declaration
Swift
case idpConfig
-
BlackBerry Server configuration issue.
BlackBerry’s servers are not responding as expected.
Declaration
Swift
case server
-
Network issue.
There is an issue connecting to BlackBerry servers.
Declaration
Swift
case network
-
JWT format issue.
Your Identity Provider is returning JWT Bearer Identity Tokens in an non-standard format.
Please see the returned
ErrorType
for details.Declaration
Swift
case jwtFormat
-
Other issues.
Something else has gone wrong.
Declaration
Swift
case otherError
-
Declaration
Swift
public var description: String { get }