java.lang.Object | |
↳ | com.microstrategy.webapi.acm.ACMJwt |
ACMJwt represents the JWT as given by the IServer. The object, once created is immutable, because only the IServer knows how to modify it
The ACMJwt is used as a parameter when creating a new sessionID, so we need to know very little about its contents.
It would be easy to just use the string version of the contents as the representation. But, by using a special object, the compiler can
tell the difference between a JWT, a Project Id, and a Session Id (Master, Configuration, Project). This ensures the maps are type safe - in other
words we never accidentally use a Project Session Id as a JWT!
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | ACMJwt.Header |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public final EncryptedObject<ACMJwt.Header> | mHeader |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ACMJwt(String iContents) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
equals(Object iThat)
equals is implemented so this can be used as a key in a HashMap
| ||||||||||
String |
getJWT()
getJWT returns a JWT that can be used directly to send to IServer@return | ||||||||||
int |
hashCode()
hashCode is implemented so this can be used as a key in a HashMap
| ||||||||||
boolean | isNotEmpty() | ||||||||||
String |
toString()
To get the JWT value use
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
equals is implemented so this can be used as a key in a HashMap
getJWT
returns a JWT that can be used directly to send to IServer@return
MSTRWebAPIException |
---|
hashCode is implemented so this can be used as a key in a HashMap
To get the JWT value use