Interface WarlockTicketService.Term
-
- All Implemented Interfaces:
public interface WarlockTicketService.Term
-
-
Method Summary
Modifier and Type Method Description booleandecode(String str)Whether it can decode and match exactly. booleandecode(String str, boolean exactly)Whether the string can decode into Term and its value static Stringencode(WarlockTicketService.Term term)encode term to string intgetSize()Number of field to encode and decode. abstract intgetType()abstract voidsetType(int type)abstract longgetUserId()the userid of the resource visitor abstract voidsetUserId(long userId)the userid of the resource visitor abstract StringgetScopes()the scope of resource, space seperated (corresponds to the permissions) abstract voidsetScopes(String scopes)the scope of resource, space seperated (corresponds to the permissions) abstract StringgetClientId()the clientId of the resource visitor, Support for one-to-many scenarios abstract voidsetClientId(String clientId)the clientId of the resource visitor, Support for one-to-many scenarios abstract StringgetSessionId()the sessionId of the resource owner, no session in api abstract voidsetSessionId(String sessionId)the sessionId of the resource owner, no session in api -
-
Method Detail
-
decode
boolean decode(String str, boolean exactly)
Whether the string can decode into Term and its value
-
encode
static String encode(WarlockTicketService.Term term)
encode term to string
-
getSize
int getSize()
Number of field to encode and decode.
-
getType
abstract int getType()
-
setType
abstract void setType(int type)
-
getUserId
abstract long getUserId()
the userid of the resource visitor
-
setUserId
abstract void setUserId(long userId)
the userid of the resource visitor
-
getScopes
abstract String getScopes()
the scope of resource, space seperated (corresponds to the permissions)
-
setScopes
abstract void setScopes(String scopes)
the scope of resource, space seperated (corresponds to the permissions)
-
getClientId
abstract String getClientId()
the clientId of the resource visitor, Support for one-to-many scenarios
-
setClientId
abstract void setClientId(String clientId)
the clientId of the resource visitor, Support for one-to-many scenarios
-
getSessionId
abstract String getSessionId()
the sessionId of the resource owner, no session in api
-
setSessionId
abstract void setSessionId(String sessionId)
the sessionId of the resource owner, no session in api
-
-
-
-