SwiftagramCrypto Documentation

Protocol Authentication

public protocol Authentication  

A protocol defining a generic authentication process.

%255 Authentication Authentication Authenticator.Group.Basic.TwoFactor Authenticator.Group.Basic.TwoFactor Authenticator.Group.Basic.TwoFactor->Authentication CustomClientAuthentication CustomClientAuthentication CustomClientAuthentication->Authentication

Types Conforming to Authentication

CustomClientAuthentication

A protocol defining an authentication process to be executed mimicing a custom Client.

Authenticator.Group.Basic.TwoFactor

A struct defining an instance capable of resolving a two factor authentication challenge.

Requirements

authenticate()

func authenticate() -> AnyPublisher<Secret, Error>

Authenticate the given user.

Returns

A valid Publisher.