public class JwtModel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SERIALIZED_NAME_ACCESS_TOKEN |
static java.lang.String |
SERIALIZED_NAME_EXPIRES_IN |
static java.lang.String |
SERIALIZED_NAME_TOKEN_TYPE |
| Constructor and Description |
|---|
JwtModel() |
| Modifier and Type | Method and Description |
|---|---|
JwtModel |
accessToken(java.lang.String accessToken) |
boolean |
equals(java.lang.Object o) |
JwtModel |
expiresIn(java.lang.Integer expiresIn) |
java.lang.String |
getAccessToken()
The access token issued by the authorization server.
|
java.lang.Integer |
getExpiresIn()
The lifetime in seconds of the access token.For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated.
|
java.lang.String |
getTokenType()
The type of the token issued.
|
int |
hashCode() |
void |
setAccessToken(java.lang.String accessToken) |
void |
setExpiresIn(java.lang.Integer expiresIn) |
void |
setTokenType(java.lang.String tokenType) |
JwtModel |
tokenType(java.lang.String tokenType) |
java.lang.String |
toString() |
public static final java.lang.String SERIALIZED_NAME_ACCESS_TOKEN
public static final java.lang.String SERIALIZED_NAME_TOKEN_TYPE
public static final java.lang.String SERIALIZED_NAME_EXPIRES_IN
public JwtModel accessToken(java.lang.String accessToken)
@Nullable public java.lang.String getAccessToken()
public void setAccessToken(java.lang.String accessToken)
public JwtModel tokenType(java.lang.String tokenType)
@Nullable public java.lang.String getTokenType()
public void setTokenType(java.lang.String tokenType)
public JwtModel expiresIn(java.lang.Integer expiresIn)
@Nullable public java.lang.Integer getExpiresIn()
public void setExpiresIn(java.lang.Integer expiresIn)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2021. All rights reserved.