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
preferredAuthnType
preferred authn type
completion
The 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
completion
The callback invoked when the fetch authn request process is completed. Possible errors: