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,ToMap,java.io.Serializable
- Direct Known Subclasses:
AbstractRemoteAuthTokenAPIHandler.TokenInfo
public class TokenResponse extends HiroMessage
The token response from the auth API{ "access_token" or "_TOKEN": "...", "refresh_token": "...", "expires_in": 3600, "_IDENTITY": "...", "_IDENTITY_ID": "...", "_APPLICATION": "...", "type": "..." }- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringapplicationjava.lang.LongexpiresAtDeprecated.java.lang.LongexpiresInjava.lang.Stringidentityjava.lang.StringidentityIdjava.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, getField, getMap, getUnmappedField, 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, toJsonStringNoNull, toPrettyJsonString, toPrettyJsonStringNoNull
-
-
-
-
Field Detail
-
token
public java.lang.String token
-
refreshToken
public java.lang.String refreshToken
-
expiresIn
public java.lang.Long expiresIn
-
expiresAt
@Deprecated public java.lang.Long expiresAt
Deprecated.
-
identity
public java.lang.String identity
-
identityId
public java.lang.String identityId
-
application
public java.lang.String application
-
type
public java.lang.String type
-
-