D1Task

public class D1Task

Main class for D1 SDK use cases.

Note

It is recommended to initialize D1Task as soon as the application is launched or the earliest possible time.

Note

Risk API contains session ID internally. The session ID is used by backend to identify the user’s activity. The life cycle of session ID is linked with the D1Task lifecycle, that is, the D1Task instance uses the same session ID for all the use cases.

Since

1.0.0

Internal Risk

  • Retrieve D1Authn object for Authn use cases

    Since

    3.0.0

    Declaration

    Swift

    public func d1Authn(_ authnDelegate: AuthnDelegate) -> D1Authn?

    Parameters

    authnDelegate

    delegate for authn use cases