CredentialsManagerError
public struct CredentialsManagerError : Auth0Error
extension CredentialsManagerError: Equatable
Represents an error during a Credentials Manager operation.
-
The underlying
Error
value, if any. Defaults tonil
.Declaration
Swift
public let cause: Error?
-
Description of the error.
Important
You should avoid displaying the error description to the user, it’s meant for debugging only.Declaration
Swift
public var debugDescription: String { get }
-
No credentials were found in the store. This error does not include a
cause
.Declaration
Swift
public static let noCredentials: CredentialsManagerError
-
The stored
Credentials
instance does not contain a Refresh Token. This error does not include acause
.Declaration
Swift
public static let noRefreshToken: CredentialsManagerError
-
The credentials renewal failed. The underlying
AuthenticationError
can be accessed via thecause
property.Declaration
Swift
public static let renewFailed: CredentialsManagerError
-
The Biometric authentication failed. The underlying
LAError
can be accessed via thecause
property.Declaration
Swift
public static let biometricsFailed: CredentialsManagerError
-
The revocation of the Refresh Token failed. The underlying
AuthenticationError
can be accessed via thecause
property.Declaration
Swift
public static let revokeFailed: CredentialsManagerError
-
Conformance to
Equatable
.Declaration
Swift
public static func == (lhs: CredentialsManagerError, rhs: CredentialsManagerError) -> Bool
-
Matches
CredentialsManagerError
values in a switch statement.Declaration
Swift
static func ~= (lhs: CredentialsManagerError, rhs: CredentialsManagerError) -> Bool
-
Matches
Error
values in a switch statement.Declaration
Swift
static func ~= (lhs: CredentialsManagerError, rhs: Error) -> Bool