Package org.keycloak.authorization.store
Interface ResourceServerStore
-
public interface ResourceServerStoreAResourceServerStoreis responsible to manage the persistence ofResourceServerinstances.- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceServercreate(String clientId)Creates aResourceServerinstance backed by this persistent storage implementation.voiddelete(String id)Removes aResourceServerinstance, with the givenidfrom the persistent storage.ResourceServerfindById(String id)Returns aResourceServerinstance based on its identifier.
-
-
-
Method Detail
-
create
ResourceServer create(String clientId)
Creates a
ResourceServerinstance 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 aResourceServerinstance, with the givenidfrom the persistent storage.- Parameters:
id- the identifier of an existing resource server instance
-
findById
ResourceServer findById(String id)
Returns aResourceServerinstance 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
-
-