Interface DuoOIDCClientFactory
-
- All Known Implementing Classes:
DuoSDKClientFactory,NimbusClientFactory
public interface DuoOIDCClientFactoryAbstract factory for creating singletonDuoOIDCClientinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DuoOIDCClientcreateInstance(DuoOIDCIntegration integration)Create anDuoOIDCClientinstance from the supplied integration.
-
-
-
Method Detail
-
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.
-
-