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 classClientScopePolicyRepresentation.ClientScopeDefinition
-
Constructor Summary
Constructors Constructor Description ClientScopePolicyRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClientScope(String name)voidaddClientScope(String name, boolean required)Set<ClientScopePolicyRepresentation.ClientScopeDefinition>getClientScopes()StringgetType()voidsetClientScopes(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:
getTypein 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)
-
-