OAuth2Error
public enum OAuth2Error : FRError
extension OAuth2Error: CustomNSError
OAuth2Error represents an error captured by FRAuth SDK for OAuth2 related operation
-
Declaration
Swift
case invalidAuthorizeRequest(String?)
-
Declaration
Swift
case invalidClient(String?)
-
Declaration
Swift
case invalidGrant(String?)
-
Declaration
Swift
case unauthorizedClient(String?)
-
Declaration
Swift
case unsupportedGrantType(String?)
-
Declaration
Swift
case unsupportedResponseType(String?)
-
Declaration
Swift
case invalidScope(String?)
-
Declaration
Swift
case missingOrInvalidRedirectURI(String?)
-
Declaration
Swift
case accessDenied(String?)
-
Declaration
Swift
case invalidPKCEState
-
Declaration
Swift
case other(String?)
-
Declaration
Swift
case unknown(String?)
-
Unique error code for given error
Declaration
Swift
var code: Int { get }
-
Parses OAuth2Error value into integer error code
Declaration
Swift
func parseErrorCode() -> Int
Return Value
Int value of unique error code
-
An error domain for OAuth2Error
Declaration
Swift
public static var errorDomain: String { get }
-
Error codes for each error enum
Declaration
Swift
public var errorCode: Int { get }
-
Error UserInfo
Declaration
Swift
public var errorUserInfo: [String : Any] { get }
-
Declaration
Swift
public var error: String { get }