Klasse OAuth2Response
java.lang.Object
de.dlr.proseo.api.prip.rest.model.OAuth2Response
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected String
The access token issued by the authorization server (as per RFC 6749)protected Long
The lifetime in seconds of the access token.(Package privat) static final long
protected String
The type of the token issued (as per RFC 6749; always "bearer") -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new OAuth2Response.OAuth2Response
(String accessToken, String tokenType, Long expiresIn) Creates a new OAuth2Response. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
@NotNull String
Returns the accessToken.@NotNull Long
Returns the expiresIn.@NotNull String
Returns the tokenType.int
hashCode()
void
setAccessToken
(String accessToken) Set the accessToken.void
setExpiresIn
(Long expiresIn) Set the expiresIn.void
setTokenType
(String tokenType) Set the tokenType.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
accessToken
The access token issued by the authorization server (as per RFC 6749) -
tokenType
The type of the token issued (as per RFC 6749; always "bearer") -
expiresIn
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 (as per RFC 6749)
-
-
Konstruktordetails
-
OAuth2Response
public OAuth2Response()Creates a new OAuth2Response. -
OAuth2Response
Creates a new OAuth2Response.
-
-
Methodendetails
-
getAccessToken
Returns the accessToken.- Gibt zurück:
- accessToken
-
setAccessToken
Set the accessToken.- Parameter:
accessToken
- the new accessToken
-
getTokenType
Returns the tokenType.- Gibt zurück:
- tokenType
-
setTokenType
Set the tokenType.- Parameter:
tokenType
- the new tokenType
-
getExpiresIn
Returns the expiresIn.- Gibt zurück:
- expiresIn
-
setExpiresIn
Set the expiresIn.- Parameter:
expiresIn
- the new expiresIn
-
hashCode
public int hashCode() -
equals
-
toString
-