public class ClientScopeEvaluateScopeMappingsResource extends Object
Constructor and Description |
---|
ClientScopeEvaluateScopeMappingsResource(RoleContainerModel roleContainer,
AdminPermissionEvaluator auth,
ClientModel client,
String scopeParam,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
Stream<RoleRepresentation> |
getGrantedScopeMappings()
Get effective scope mapping of all roles of particular role container, which this client is defacto allowed to have in the accessToken issued for him.
|
Stream<RoleRepresentation> |
getNotGrantedScopeMappings()
Get roles, which this client doesn't have scope for and can't have them in the accessToken issued for him.
|
public ClientScopeEvaluateScopeMappingsResource(RoleContainerModel roleContainer, AdminPermissionEvaluator auth, ClientModel client, String scopeParam, KeycloakSession session)
@Path(value="/granted") @GET @Produces(value="application/json") public Stream<RoleRepresentation> getGrantedScopeMappings()
@Path(value="/not-granted") @GET @Produces(value="application/json") public Stream<RoleRepresentation> getNotGrantedScopeMappings()
getGrantedScopeMappings()
Copyright © 2021 JBoss by Red Hat. All rights reserved.