Class AbstractDuoOIDCClient
java.lang.Object
net.shibboleth.idp.plugin.authn.duo.AbstractDuoOIDCClient
- All Implemented Interfaces:
DuoOIDCClient,DuoOIDCClientCapabilities
- Direct Known Subclasses:
DuoSDKClientAdaptor,NimbusClient
Abstract base class for
DuoOIDCClient implementations. Handles the clientId and
retrieval of the client's capabilities.
Client's are shared amongst requests - and hence possibly threads - and therefore must be thread-safe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the capabilities of the underlying client.final StringGet an identifier for this client e.g.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.idp.plugin.authn.duo.DuoOIDCClient
createAuthUrl, exchangeAuthorizationCodeFor2FAResult, healthCheckMethods inherited from interface net.shibboleth.idp.plugin.authn.duo.DuoOIDCClientCapabilities
isSupportsNonce
-
Field Details
-
clientId
The client instance UUID for identification.
-
-
Constructor Details
-
AbstractDuoOIDCClient
protected AbstractDuoOIDCClient()Constructor.
-
-
Method Details
-
getClientId
Description copied from interface:DuoOIDCClientGet an identifier for this client e.g. a UUID. Only for logging and debugging.- Specified by:
getClientIdin interfaceDuoOIDCClient- Returns:
- the client identifier.
-
getCapabilities
Description copied from interface:DuoOIDCClientReturns the capabilities of the underlying client.- Specified by:
getCapabilitiesin interfaceDuoOIDCClient- Returns:
- interface to access the service's capabilities
-