SwiftagramCrypto Documentation

Structure Authenticator.​Group.​Visual

@available(iOS 11.0, macOS 10.13, macCatalyst 13.0, *)
    struct Visual: CustomClientAuthentication  

A struct defining an authenticator relying on WKWebViews to log in.

%65 Authenticator.Group.Visual Authenticator.Group.Visual CustomClientAuthentication CustomClientAuthentication Authenticator.Group.Visual->CustomClientAuthentication

Member Of

Authenticator.Group

An enum listing all authentication implementations.

Conforms To

CustomClientAuthentication

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

Properties

authenticator

public let authenticator: Authenticator

The underlying authenticator.

Methods

authenticate(in:​)

public func authenticate(in client: Client) -> AnyPublisher<Secret, Swift.Error>  

Authenticate the given user.

Parameters

client Client

A valid Client.

Returns

A valid Publisher.