java.lang.Object | |
↳ | com.microstrategy.utils.JsonWebTokenPayLoad |
JSON Web Token payload model class
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JsonWebTokenPayLoad() | |||||||||||
JsonWebTokenPayLoad(String subject) | |||||||||||
JsonWebTokenPayLoad(String subject, Long expiration, Long issuedAtTime) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Long |
getExpiration()
get token expiration time
| ||||||||||
Map<String, String> |
getExtraProperties()
Returns extra properties set in payload
| ||||||||||
Long |
getIssuedAtTime()
get the time the token was issued at
| ||||||||||
String | getSubject() | ||||||||||
void |
setExpiration(Long expiration)
set token expiration time
| ||||||||||
void |
setExtraProperties(Map<String, String> extraProperties)
Set extra properties (key-value pair) in JSON payload
| ||||||||||
void |
setIssuedAtTime(Long issuedAtTime)
set token issuance time
| ||||||||||
void | setSubject(String subject) | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
get token expiration time
Returns extra properties set in payload
get the time the token was issued at
set token expiration time
Set extra properties (key-value pair) in JSON payload
set token issuance time