SwiftagramCrypto Documentation

Enumeration Authenticator.​Error

enum Error: Swift.Error  

An enum listing some authentication-specific errors.

%271 Authenticator.Error Authenticator.Error Swift.Error Swift.Error Authenticator.Error->Swift.Error

Member Of

Authenticator

A struct defining an instance capable of starting the authentication flow for a given user.

Nested Types

Authenticator.Error.TwoFactor

A struct defining a list of properties used for resolving a two factor authentication challenge.

Conforms To

Swift.Error

Enumeration Cases

generic

case generic(String) 

Generic error.

invalid​Cookies

case invalidCookies([HTTPCookie]) 

Invalid cookies.

invalid​Password

case invalidPassword

Invalid password.

invalid​Response

case invalidResponse(URLResponse) 

Invalid response.

invalid​URL

case invalidURL

Invalid URL.

invalid​Username

case invalidUsername

Invalid username.

two​Factor​Challenge

case twoFactorChallenge(TwoFactor) 

Two factor authentication challenge.