AuthenticationFailure
public enum AuthenticationFailure : Error
extension AuthenticationFailure: CustomStringConvertible
Possible authentication failure modes.
-
Security breach: the provided public key is empty (i.e. PK % N is zero).
Declaration
Swift
case invalidPublicKey
-
Invalid client state: call
processChallenge
beforeverifySession
.Declaration
Swift
case missingChallenge
-
Failed authentication: the key proof didn’t match our own.
Declaration
Swift
case keyProofMismatch
-
A textual representation of this instance.
Instead of accessing this property directly, convert an instance of any type to a string by using the
String(describing:)
initializer.Declaration
Swift
public var description: String { get }