Package org.keycloak.representations
Class AccessToken.Access
- java.lang.Object
-
- org.keycloak.representations.AccessToken.Access
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AccessToken
public static class AccessToken.Access extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
roles
protected Boolean
verifyCaller
-
Constructor Summary
Constructors Constructor Description Access()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessToken.Access
addRole(String role)
AccessToken.Access
clone()
Set<String>
getRoles()
Boolean
getVerifyCaller()
boolean
isUserInRole(String role)
AccessToken.Access
roles(Set<String> roles)
AccessToken.Access
verifyCaller(Boolean required)
-
-
-
Method Detail
-
clone
public AccessToken.Access clone()
-
roles
public AccessToken.Access roles(Set<String> roles)
-
isUserInRole
public boolean isUserInRole(String role)
-
addRole
public AccessToken.Access addRole(String role)
-
getVerifyCaller
public Boolean getVerifyCaller()
-
verifyCaller
public AccessToken.Access verifyCaller(Boolean required)
-
-