AuthenticationCompletionStatus
public enum AuthenticationCompletionStatus
Authentication completion status enumeration
returns information about the authentication state when the authenticate(completionHandler:)
method completed.
-
Authentication was completed successfully.
Values:
type:
AuthenticationValidationType
type of the successful authentication, either online or offline.user:
User
object containing the authenticated user information
Declaration
Swift
case success(type: AuthenticationValidationType, user: User)
-
Authentication was denied
Declaration
Swift
case denied
-
Authentication was canceled
Declaration
Swift
case canceled
-
Authentication failed.
Values:
- error:
Error
containing details as to why the authentication failed.
Declaration
Swift
case failed(error: Error)
- error:
-
A textual representation of this instance.
Declaration
Swift
public var description: String
-
Equatable conformance
returns: a Boolean value indicating whether two values are equal.
Declaration
Swift
public static func == (lhs: AuthenticationManager.AuthenticationCompletionStatus, rhs: AuthenticationManager.AuthenticationCompletionStatus) -> Bool