public class MapClientScopeProvider extends Object implements ClientScopeProvider
| Constructor and Description |
|---|
MapClientScopeProvider(KeycloakSession session,
MapStorage<MapClientScopeEntity,ClientScopeModel> clientScopeStore) |
| Modifier and Type | Method and Description |
|---|---|
ClientScopeModel |
addClientScope(RealmModel realm,
String id,
String name) |
void |
close() |
ClientScopeModel |
getClientScopeById(RealmModel realm,
String id) |
Stream<ClientScopeModel> |
getClientScopesStream(RealmModel realm) |
boolean |
removeClientScope(RealmModel realm,
String id) |
void |
removeClientScopes(RealmModel realm) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClientScopepublic MapClientScopeProvider(KeycloakSession session, MapStorage<MapClientScopeEntity,ClientScopeModel> clientScopeStore)
public Stream<ClientScopeModel> getClientScopesStream(RealmModel realm)
getClientScopesStream in interface ClientScopeProviderpublic ClientScopeModel addClientScope(RealmModel realm, String id, String name)
addClientScope in interface ClientScopeProviderpublic boolean removeClientScope(RealmModel realm, String id)
removeClientScope in interface ClientScopeProviderpublic void removeClientScopes(RealmModel realm)
removeClientScopes in interface ClientScopeProviderpublic ClientScopeModel getClientScopeById(RealmModel realm, String id)
getClientScopeById in interface ClientScopeLookupProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.