Class ClientScopePolicyRepresentation
- java.lang.Object
-
- org.keycloak.representations.idm.authorization.AbstractPolicyRepresentation
-
- org.keycloak.representations.idm.authorization.ClientScopePolicyRepresentation
-
public class ClientScopePolicyRepresentation extends AbstractPolicyRepresentation
- Author:
- Yoshiyuki Tabata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientScopePolicyRepresentation.ClientScopeDefinition
-
Constructor Summary
Constructors Constructor Description ClientScopePolicyRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClientScope(String name)
void
addClientScope(String name, boolean required)
Set<ClientScopePolicyRepresentation.ClientScopeDefinition>
getClientScopes()
String
getType()
void
setClientScopes(Set<ClientScopePolicyRepresentation.ClientScopeDefinition> clientScopes)
-
Methods inherited from class org.keycloak.representations.idm.authorization.AbstractPolicyRepresentation
addPolicy, addResource, addScope, equals, getDecisionStrategy, getDescription, getId, getLogic, getName, getOwner, getPolicies, getResources, getResourcesData, getScopes, getScopesData, hashCode, removePolicy, removeScope, setDecisionStrategy, setDescription, setId, setLogic, setName, setOwner, setPolicies, setResources, setResourcesData, setScopes, setScopesData, setType
-
-
-
-
Method Detail
-
getType
public String getType()
- Overrides:
getType
in classAbstractPolicyRepresentation
-
getClientScopes
public Set<ClientScopePolicyRepresentation.ClientScopeDefinition> getClientScopes()
-
setClientScopes
public void setClientScopes(Set<ClientScopePolicyRepresentation.ClientScopeDefinition> clientScopes)
-
addClientScope
public void addClientScope(String name, boolean required)
-
addClientScope
public void addClientScope(String name)
-
-