Class AbstractDuoOIDCClient
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.duo.AbstractDuoOIDCClient
-
- All Implemented Interfaces:
DuoOIDCClient,DuoOIDCClientCapabilities
- Direct Known Subclasses:
DuoSDKClientAdaptor,NimbusClient
public abstract class AbstractDuoOIDCClient extends Object implements DuoOIDCClient
Abstract base class forDuoOIDCClientimplementations. 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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDuoOIDCClient()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DuoOIDCClientCapabilitiesgetCapabilities()Returns the capabilities of the underlying client.StringgetClientId()Get an identifier for this client e.g.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.idp.plugin.authn.duo.DuoOIDCClient
createAuthUrl, exchangeAuthorizationCodeFor2FAResult, healthCheck
-
Methods inherited from interface net.shibboleth.idp.plugin.authn.duo.DuoOIDCClientCapabilities
isSupportsNonce
-
-
-
-
Method Detail
-
getClientId
@Nonnull public final String 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
@Nonnull public final DuoOIDCClientCapabilities getCapabilities()
Description copied from interface:DuoOIDCClientReturns the capabilities of the underlying client.- Specified by:
getCapabilitiesin interfaceDuoOIDCClient- Returns:
- interface to access the service's capabilities
-
-