SwiftagramCrypto Documentation

Extensions on Authenticator.Error.TwoFactor

Methods

code(_:​)

func code(_ code: String) -> Authenticator.Group.Basic.TwoFactor  

Update the code for the 2FA challenge.

Parameters

code String

A valid String.

Returns

A valid Authenticator.Group.Basic.TwoFactor.