Interface DuoOIDCClientFactory
- All Known Implementing Classes:
DuoSDKClientFactory,NimbusClientFactory
public interface DuoOIDCClientFactory
Abstract factory for creating singleton
DuoOIDCClient instances.-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(DuoOIDCIntegration integration) Create anDuoOIDCClientinstance from the supplied integration.
-
Method Details
-
createInstance
@Nonnull DuoOIDCClient createInstance(@Nonnull DuoOIDCIntegration integration) throws DuoClientException Create anDuoOIDCClientinstance 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.
-