Interface ResourceServerStore

    • Method Detail

      • create

        ResourceServer create​(String clientId)

        Creates a ResourceServer instance backed by this persistent storage implementation.

        Parameters:
        clientId - the client id acting as a resource server
        Returns:
        an instance backed by the underlying storage implementation
      • delete

        void delete​(String id)
        Removes a ResourceServer instance, with the given id from the persistent storage.
        Parameters:
        id - the identifier of an existing resource server instance
      • findById

        ResourceServer findById​(String id)
        Returns a ResourceServer instance based on its identifier.
        Parameters:
        id - the identifier of an existing resource server instance
        Returns:
        the resource server instance with the given identifier or null if no instance was found