Interface DuoOIDCClientFactory

    • Method Detail

      • createInstance

        @Nonnull
        DuoOIDCClient createInstance​(@Nonnull
                                     DuoOIDCIntegration integration)
                              throws DuoClientException
        Create an DuoOIDCClient instance from the supplied integration.

        The client should be fully initialised and safely published.

        Parameters:
        integration - the duo integration used to instantiate the client.
        Returns:
        the created Duo client, never null.
        Throws:
        DuoClientException - if there is an error creating the Duo client.