keycloak
|
公開メンバ関数 | |
Scope | create (String name, ResourceServer resourceServer) |
Scope | create (String id, String name, ResourceServer resourceServer) |
void | delete (String id) |
Scope | findById (String id, String resourceServerId) |
Scope | findByName (String name, String resourceServerId) |
List< Scope > | findByResourceServer (String id) |
List< Scope > | findByResourceServer (Map< String, String[]> attributes, String resourceServerId, int firstResult, int maxResult) |
A ScopeStore is responsible to manage the persistence of Scope instances.
Scope org.keycloak.authorization.store.ScopeStore.create | ( | String | name, |
ResourceServer | resourceServer | ||
) |
Creates a new Scope instance. The new instance is not necessarily persisted though, which may require a call to the {#save} method to actually make it persistent.
name | the name of the scope |
resourceServer | the resource server to which this scope belongs |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。
Scope org.keycloak.authorization.store.ScopeStore.create | ( | String | id, |
String | name, | ||
ResourceServer | resourceServer | ||
) |
Creates a new Scope instance. The new instance is not necessarily persisted though, which may require a call to the {#save} method to actually make it persistent.
id | the id of the scope |
name | the name of the scope |
resourceServer | the resource server to which this scope belongs |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。
void org.keycloak.authorization.store.ScopeStore.delete | ( | String | id | ) |
Deletes a scope from the underlying persistence mechanism.
id | the id of the scope to delete |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。
Scope org.keycloak.authorization.store.ScopeStore.findById | ( | String | id, |
String | resourceServerId | ||
) |
Returns a Scope with the given id
id | the identifier of the scope |
resourceServerId | the resource server id |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。
Scope org.keycloak.authorization.store.ScopeStore.findByName | ( | String | name, |
String | resourceServerId | ||
) |
Returns a Scope with the given name
name | the name of the scope |
resourceServerId | the resource server id |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。
List<Scope> org.keycloak.authorization.store.ScopeStore.findByResourceServer | ( | String | id | ) |
Returns a list of Scope associated with a ResourceServer with the given resourceServerId
.
resourceServerId | the identifier of a resource server |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。
List<Scope> org.keycloak.authorization.store.ScopeStore.findByResourceServer | ( | Map< String, String[]> | attributes, |
String | resourceServerId, | ||
int | firstResult, | ||
int | maxResult | ||
) |
Returns a list of Scope associated with a ResourceServer with the given resourceServerId
.
attributes | a map holding the attributes that will be used as a filter |
resourceServerId | the identifier of a resource server |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。