Class StorageServiceClientInformationManager

    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
    • Constructor Detail

      • StorageServiceClientInformationManager

        public StorageServiceClientInformationManager()
    • Method Detail

      • storeClientInformation

        public void storeClientInformation​(@Nonnull
                                           com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation clientInformation,
                                           @Nullable
                                           Instant expiration,
                                           boolean replace)
                                    throws ClientInformationManagerException
        Store a ClientInformation object.
        Specified by:
        storeClientInformation in interface ClientInformationManager
        Parameters:
        clientInformation - The client information to be stored
        expiration - The expiration for record, or null
        replace - whether to replace an existing entry
        Throws:
        ClientInformationManagerException - If the client information cannot be stored.
      • storeClientInformation

        @Deprecated
        public void storeClientInformation​(@Nonnull
                                           com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation clientInformation,
                                           @Nullable
                                           Instant expiration)
                                    throws ClientInformationManagerException
        Deprecated.
        Store a ClientInformation object.

        This method is deprecated, and is equivalent to calling the replacement method with replace set to false.

        Specified by:
        storeClientInformation in interface ClientInformationManager
        Parameters:
        clientInformation - The client information to be stored
        expiration - The expiration for record, or null
        Throws:
        ClientInformationManagerException - If the client information cannot be stored.
      • destroyClientInformation

        public void destroyClientInformation​(com.nimbusds.oauth2.sdk.id.ClientID clientId)
        Invalidates or otherwise removes a ClientInformation from persistent storage.
        Specified by:
        destroyClientInformation in interface ClientInformationManager
        Parameters:
        clientId - the unique ID of the client information to destroy.