Package co.arago.hiro.client.model.token
Class TokenResponse
- java.lang.Object
-
- co.arago.hiro.client.model.HiroJsonMap
-
- co.arago.hiro.client.model.HiroMessage
-
- co.arago.hiro.client.model.token.TokenResponse
-
- All Implemented Interfaces:
JsonMessage,java.io.Serializable
- Direct Known Subclasses:
PasswordAuthTokenAPIHandler.TokenInfo
public class TokenResponse extends HiroMessage
The token response from the auth API{ "_TOKEN": "...", "refresh_token": "...", "expires-at": 1234567890, "_IDENTITY": "...", "_IDENTITY_ID": "...", "_APPLICATION": "...", "type": "..." }- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringapplicationjava.lang.LongexpiresAtjava.lang.Stringidentityjava.lang.StringindentityIdjava.lang.StringrefreshTokenjava.lang.Stringtokenjava.lang.Stringtype-
Fields inherited from class co.arago.hiro.client.model.HiroMessage
hiroError
-
Fields inherited from class co.arago.hiro.client.model.HiroJsonMap
fieldsMap
-
-
Constructor Summary
Constructors Constructor Description TokenResponse()
-
Method Summary
-
Methods inherited from class co.arago.hiro.client.model.HiroMessage
catchError, getError, isError, setField
-
Methods inherited from class co.arago.hiro.client.model.HiroJsonMap
addFields, getMap, setFields, toMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface co.arago.hiro.client.model.JsonMessage
toJsonString, toPrettyJsonString
-
-
-
-
Field Detail
-
token
public java.lang.String token
-
refreshToken
public java.lang.String refreshToken
-
expiresAt
public java.lang.Long expiresAt
-
identity
public java.lang.String identity
-
indentityId
public java.lang.String indentityId
-
application
public java.lang.String application
-
type
public java.lang.String type
-
-