public class MapResourceServerStore<K> extends Object implements ResourceServerStore
Constructor and Description |
---|
MapResourceServerStore(KeycloakSession session,
MapStorage<K,MapResourceServerEntity<K>,ResourceServer> resourceServerStore,
AuthorizationProvider provider) |
Modifier and Type | Method and Description |
---|---|
ResourceServer |
create(String clientId)
Creates a
ResourceServer instance backed by this persistent storage implementation. |
void |
delete(String id)
Removes a
ResourceServer instance, with the given id from the persistent storage. |
ResourceServer |
findById(String id)
Returns a
ResourceServer instance based on its identifier. |
public MapResourceServerStore(KeycloakSession session, MapStorage<K,MapResourceServerEntity<K>,ResourceServer> resourceServerStore, AuthorizationProvider provider)
public ResourceServer create(String clientId)
ResourceServerStore
Creates a ResourceServer
instance backed by this persistent storage implementation.
create
in interface ResourceServerStore
clientId
- the client id acting as a resource serverpublic void delete(String id)
ResourceServerStore
ResourceServer
instance, with the given id
from the persistent storage.delete
in interface ResourceServerStore
id
- the identifier of an existing resource server instancepublic ResourceServer findById(String id)
ResourceServerStore
ResourceServer
instance based on its identifier.findById
in interface ResourceServerStore
id
- the identifier of an existing resource server instanceCopyright © 2021 JBoss by Red Hat. All rights reserved.