Class WarlockTicketService.SimpleTerm
-
- All Implemented Interfaces:
-
pro.fessional.wings.warlock.service.auth.WarlockTicketService.Term
public class WarlockTicketService.SimpleTerm implements WarlockTicketService.Term
-
-
Field Summary
Fields Modifier and Type Field Description public final static intTypeEmptypublic final static intTypeAuthorizeCodepublic final static intTypeAccessToken
-
Constructor Summary
Constructors Constructor Description WarlockTicketService.SimpleTerm()
-
Method Summary
Modifier and Type Method Description intgetType()longgetUserId()the userid of the resource visitor StringgetScopes()the scope of resource, space seperated (corresponds to the permissions) StringgetClientId()the clientId of the resource visitor, Support for one-to-many scenarios StringgetSessionId()the sessionId of the resource owner, no session in api voidsetType(int type)voidsetUserId(long userId)the userid of the resource visitor voidsetScopes(String scopes)the scope of resource, space seperated (corresponds to the permissions) voidsetClientId(String clientId)the clientId of the resource visitor, Support for one-to-many scenarios voidsetSessionId(String sessionId)the sessionId of the resource owner, no session in api booleanequals(@Nullable() Object o)inthashCode()StringtoString()-
-
Method Detail
-
getType
int getType()
-
getUserId
long getUserId()
the userid of the resource visitor
-
getScopes
String getScopes()
the scope of resource, space seperated (corresponds to the permissions)
-
getClientId
String getClientId()
the clientId of the resource visitor, Support for one-to-many scenarios
-
getSessionId
String getSessionId()
the sessionId of the resource owner, no session in api
-
setType
void setType(int type)
-
setUserId
void setUserId(long userId)
the userid of the resource visitor
-
setScopes
void setScopes(String scopes)
the scope of resource, space seperated (corresponds to the permissions)
-
setClientId
void setClientId(String clientId)
the clientId of the resource visitor, Support for one-to-many scenarios
-
setSessionId
void setSessionId(String sessionId)
the sessionId of the resource owner, no session in api
-
hashCode
int hashCode()
-
-
-
-