Class AuthenticationTokenResponse
java.lang.Object
de.xima.fc.api.rest.pub.client.security.model.AuthenticationTokenResponse
- All Implemented Interfaces:
Serializable
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator")
public class AuthenticationTokenResponse
extends Object
implements Serializable
Model representing a token response with several JWTs.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken(String accessToken) Creates a new model with the given enum and no other data.booleanCreates a new model with the given enum and no other data.The access token to be used for authentication.The time in seconds until the access token expires.The id token containing user information.The time in seconds until the refresh token expires.The time in seconds until the refresh token expires.The refresh token to be used for refreshing the access token.The type of the token.inthashCode()Creates a new model with the given enum and no other data.idTokenExpiresIn(Long idTokenExpiresIn) Creates a new model with the given enum and no other data.refreshExpiresIn(Long refreshExpiresIn) Creates a new model with the given enum and no other data.refreshToken(String refreshToken) Creates a new model with the given enum and no other data.voidsetAccessToken(String accessToken) voidsetExpiresIn(Long expiresIn) voidsetIdToken(String idToken) voidsetIdTokenExpiresIn(Long idTokenExpiresIn) voidsetRefreshExpiresIn(Long refreshExpiresIn) voidsetRefreshToken(String refreshToken) voidsetTokenType(String tokenType) Creates a new model with the given enum and no other data.toString()
-
Field Details
-
JSON_PROPERTY_ACCESS_TOKEN
- See Also:
-
JSON_PROPERTY_EXPIRES_IN
- See Also:
-
JSON_PROPERTY_ID_TOKEN
- See Also:
-
JSON_PROPERTY_ID_TOKEN_EXPIRES_IN
- See Also:
-
JSON_PROPERTY_REFRESH_EXPIRES_IN
- See Also:
-
JSON_PROPERTY_REFRESH_TOKEN
- See Also:
-
JSON_PROPERTY_TOKEN_TYPE
- See Also:
-
-
Constructor Details
-
AuthenticationTokenResponse
public AuthenticationTokenResponse()Creates a new empty model with no data yet. Use the various setters or fluent setters to add the appropriate data.
-
-
Method Details
-
accessToken
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getAccessToken
The access token to be used for authentication.- Returns:
- accessToken
-
setAccessToken
-
expiresIn
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getExpiresIn
The time in seconds until the access token expires.- Returns:
- expiresIn
-
setExpiresIn
-
idToken
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getIdToken
-
setIdToken
-
idTokenExpiresIn
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getIdTokenExpiresIn
The time in seconds until the refresh token expires.- Returns:
- idTokenExpiresIn
-
setIdTokenExpiresIn
-
refreshExpiresIn
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getRefreshExpiresIn
The time in seconds until the refresh token expires.- Returns:
- refreshExpiresIn
-
setRefreshExpiresIn
-
refreshToken
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getRefreshToken
The refresh token to be used for refreshing the access token.- Returns:
- refreshToken
-
setRefreshToken
-
tokenType
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data. -
getTokenType
-
setTokenType
-
equals
-
hashCode
-
toString
-