D1Authn
public class D1Authn
Entry point to access the Authn features.
Since
3.0.0-
Get enrolled authn type
Declaration
Swift
public func enrolledAuthnType() -> AuthnType? -
Enroll the user’s device for authentication.
Declaration
Parameters
preferredAuthnTypepreferred authn type
completionThe callback invoked when the enroll authn credential process is completed. Possible errors:
-
Fetch a pending authentication request.
Declaration
Swift
public func fetchAuthnRequest(_ completion: @escaping (D1Error?) -> Void)Parameters
completionThe callback invoked when the fetch authn request process is completed. Possible errors:
D1Authn Class Reference