Class AbstractDuoOIDCClient

  • All Implemented Interfaces:
    DuoOIDCClient, DuoOIDCClientCapabilities

    public abstract class AbstractDuoOIDCClient
    extends Object
    implements DuoOIDCClient
    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 Detail

      • clientId

        @Nonnull
        @NotEmpty
        private final String clientId
        The client instance UUID for identification.
    • Constructor Detail

      • AbstractDuoOIDCClient

        protected AbstractDuoOIDCClient()
        Constructor.
    • Method Detail

      • getClientId

        @Nonnull
        public final String getClientId()
        Description copied from interface: DuoOIDCClient
        Get an identifier for this client e.g. a UUID. Only for logging and debugging.
        Specified by:
        getClientId in interface DuoOIDCClient
        Returns:
        the client identifier.