NuguLoginKitError
public enum NuguLoginKitError : Error
The NuguLoginKitError
is error of NuguLoginKit
-
The
See moreAPIError
is error of APIDeclaration
Swift
public enum APIError : Error
-
OAuthManager
has nologinTypeInfo
.Declaration
Swift
case noLoginTypeInfo
-
The URL to which are trying to send a request is invalid.
Declaration
Swift
case invalidRequestURL
-
The URL received by AppDelegate is invalid.
The error occurs when receive any URL other than redirectURI during OAuth authentication process.
Declaration
Swift
case invalidOpenURL
-
The authorization-code received by
AppDelegate
is invalid.Declaration
Swift
case noAuthorizationCode
-
The state received by AppDelegate is invalid.
Declaration
Swift
case invalidState
-
The error occurs when called
safariViewControllerDidFinish()
bySFSafariViewControllerDelegate
during OAuth authentication process.Declaration
Swift
case cancelled
-
The error occurs when request OAuth authentication API.
Declaration
Swift
case apiError(error: APIError)
-
The error occurs by unknown or complicated issue.
Declaration
Swift
case unknown(description: String?)