Package org.keycloak.authorization.model
Interface PermissionTicket
- 
- All Known Implementing Classes:
- AbstractPermissionTicketModel,- MapPermissionTicketAdapter,- PermissionTicketAdapter,- PermissionTicketAdapter
 
 public interface PermissionTicket- Author:
- Pedro Igor
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classPermissionTicket.FilterOptionstatic classPermissionTicket.SearchableFields
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description LonggetCreatedTimestamp()LonggetGrantedTimestamp()StringgetId()Returns the unique identifier for this instance.StringgetOwner()Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.PolicygetPolicy()StringgetRequester()ResourcegetResource()Returns theResourceassociated with this instanceResourceServergetResourceServer()Returns theResourceServerwhere this policy belongs to.ScopegetScope()Returns theScopeassociated with this instancebooleanisGranted()voidsetGrantedTimestamp(Long millis)voidsetPolicy(Policy policy)
 
- 
- 
- 
Method Detail- 
getIdString getId() Returns the unique identifier for this instance.- Returns:
- the unique identifier for this instance
 
 - 
getOwnerString getOwner() Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.- Returns:
- the owner of this resource
 
 - 
getRequesterString getRequester() 
 - 
getResourceResource getResource() Returns theResourceassociated with this instance- Returns:
- the Resourceassociated with this instance
 
 - 
getScopeScope getScope() Returns theScopeassociated with this instance- Returns:
- the Scopeassociated with this instance
 
 - 
isGrantedboolean isGranted() 
 - 
getCreatedTimestampLong getCreatedTimestamp() 
 - 
getGrantedTimestampLong getGrantedTimestamp() 
 - 
setGrantedTimestampvoid setGrantedTimestamp(Long millis) 
 - 
getResourceServerResourceServer getResourceServer() Returns theResourceServerwhere this policy belongs to.- Returns:
- a resource server
 
 - 
getPolicyPolicy getPolicy() 
 - 
setPolicyvoid setPolicy(Policy policy) 
 
- 
 
-