public class

JsonWebTokenPayLoad

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.JsonWebTokenPayLoad

Class Overview

JSON Web Token payload model class

Summary

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
From class java.lang.Object

Public Constructors

public JsonWebTokenPayLoad ()

public JsonWebTokenPayLoad (String subject)

public JsonWebTokenPayLoad (String subject, Long expiration, Long issuedAtTime)

Public Methods

public Long getExpiration ()

get token expiration time

public Map<String, String> getExtraProperties ()

Returns extra properties set in payload

public Long getIssuedAtTime ()

get the time the token was issued at

public String getSubject ()

public void setExpiration (Long expiration)

set token expiration time

public void setExtraProperties (Map<String, String> extraProperties)

Set extra properties (key-value pair) in JSON payload

public void setIssuedAtTime (Long issuedAtTime)

set token issuance time

public void setSubject (String subject)

public String toString ()