| Package | Description |
|---|---|
| org.keycloak.authorization.model |
Provides the domain model and any other type related with it
|
| org.keycloak.authorization.permission | |
| org.keycloak.authorization.store |
Provides classes and a SPI to plug different metadata storage implementations.
|
| Modifier and Type | Method and Description |
|---|---|
<S extends Scope> |
Policy.getScopes()
Returns the
Scope instances where this policy applies. |
<S extends Scope> |
Resource.getScopes()
|
| Modifier and Type | Method and Description |
|---|---|
void |
Policy.addScope(Scope scope) |
void |
Policy.removeScope(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
Resource.updateScopes(Set<Scope> scopes) |
| Modifier and Type | Method and Description |
|---|---|
List<Scope> |
ResourcePermission.getScopes()
Returns a list of permitted scopes associated with the resource
|
| Constructor and Description |
|---|
ResourcePermission(Resource resource,
List<Scope> scopes,
ResourceServer resourceServer) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
ScopeStore.create(String name,
ResourceServer resourceServer)
Creates a new
Scope instance. |
Scope |
ScopeStore.findById(String id)
Returns a
Scope with the given id |
Scope |
ScopeStore.findByName(String name,
String resourceServerId)
Returns a
Scope with the given name |
| Modifier and Type | Method and Description |
|---|---|
List<Scope> |
ScopeStore.findByResourceServer(String id)
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.