Package org.keycloak.authorization.model
Interface PermissionTicket
- All Known Implementing Classes:
PermissionTicketAdapter,PermissionTicketAdapter
public interface PermissionTicket
- Author:
- Pedro Igor
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the unique identifier for this instance.getOwner()Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.Returns theResourceassociated with this instanceReturns theResourceServerwhere this policy belongs to.getScope()Returns theScopeassociated with this instancebooleanvoidsetGrantedTimestamp(Long millis) void
-
Method Details
-
getId
String getId()Returns the unique identifier for this instance.- Returns:
- the unique identifier for this instance
-
getOwner
String getOwner()Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.- Returns:
- the owner of this resource
-
getRequester
String getRequester() -
getResource
Resource getResource()Returns theResourceassociated with this instance- Returns:
- the
Resourceassociated with this instance
-
getScope
Scope getScope()Returns theScopeassociated with this instance- Returns:
- the
Scopeassociated with this instance
-
isGranted
boolean isGranted() -
getCreatedTimestamp
Long getCreatedTimestamp() -
getGrantedTimestamp
Long getGrantedTimestamp() -
setGrantedTimestamp
-
getResourceServer
ResourceServer getResourceServer()Returns theResourceServerwhere this policy belongs to.- Returns:
- a resource server
-
getPolicy
Policy getPolicy() -
setPolicy
-