Class Fido2ClientFactory

java.lang.Object
com.thalesgroup.gemalto.fido2.client.Fido2ClientFactory

public final class Fido2ClientFactory extends Object
A factory for creating Fido2Client instances.
Since:
1.0.0
  • Method Details

    • createFido2Client

      @NonNull @WorkerThread public static Fido2Client createFido2Client(@NonNull android.content.Context context) throws Fido2Exception
      Creates a new instance of Fido2Client.

      This method performs initial setup and should be called on a background thread to avoid blocking the main thread.

      Parameters:
      context - The application context. Must not be null.
      Returns:
      A new Fido2Client instance.
      Throws:
      Fido2Exception - if an error occurs during initialization, such as an unsafe environment being detected.
      IllegalArgumentException - if context is null.
      Since:
      1.3.0