IDPError
public enum IDPError : Swift.Error
extension IDPError: Equatable
extension IDPError: Codable
The specific error types for the IDP module
-
In case of HTTP/Connection error
Declaration
Swift
case network(error: HTTPClientError)
-
In case a response (or request) could not be (cryptographically) verified
Declaration
Swift
case validation(error: Swift.Error)
-
When a token is being requested, but none can be found
Declaration
Swift
case tokenUnavailable
-
Other error cases
Declaration
Swift
case unspecified(error: Swift.Error)
-
Message failed to decode/parse
Declaration
Swift
case decoding(error: Swift.Error)
-
When failed to extract a X.509 certificate from the DiscoveryDocument
Declaration
Swift
case noCertificateFound
-
When the discovery document has expired or the trust anchors could not be verified
Declaration
Swift
case invalidDiscoveryDocument
-
When the state parameter received from the server is not equal to the one sent
Declaration
Swift
case invalidStateParameter
-
When the nonce received from the server is not equal to the one sent
Declaration
Swift
case invalidNonce
-
When a method/algorithm is unsupported
Declaration
Swift
case unsupported(String?)
-
When encryption fails
Declaration
Swift
case encryption
-
When decryption fails
Declaration
Swift
case decryption
-
Internal error
Declaration
Swift
case `internal`(error: InternalError)
-
Issues related to Building or Verifying the trust store
Declaration
Swift
case trustStore(error: TrustStoreError)
-
Declaration
Swift
case pairing(Swift.Error)
-
Declaration
Swift
case invalidSignature(String)
-
Server responded with an error
Declaration
Swift
case serverError(ServerResponse)
-
Any biometrics related error
Declaration
Swift
case biometrics(SecureEnclaveSignatureProviderError)
-
External authentication failed due to missing or invalid original request
Declaration
Swift
case extAuthOriginalRequestMissing
-
Not implemented as the conforming instance is meant for demo purpose only
Declaration
Swift
case notAvailableInDemoMode
-
Declaration
Swift
public struct ServerResponse : Codable, CustomStringConvertible, Equatable
-
Declaration
Swift
public enum Code : String
-
Declaration
Swift
public enum InternalError : Swift.Error
-
Declaration
Swift
public static func == (lhs: IDPError, rhs: IDPError) -> Bool
-
Declaration
Swift
public enum LoadingError : Swift.Error
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws