Class OAuth2AccessTokenResponse
java.lang.Object
com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
What a token endpoint answered a successful exchange with.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEverything else the answer carried:id_tokenamong it.longThe seconds the access token is good for, or 0 when the answer did not say.The ID token as it was sent, or null.The refresh token, or null.The scopes granted, when the answer named them; empty otherwise, which means what was asked for.
-
Constructor Details
-
OAuth2AccessTokenResponse
- Parameters:
fields- the fields of the answer, by name
-
-
Method Details
-
getAccessToken
-
getTokenType
-
getExpiresIn
public long getExpiresIn()The seconds the access token is good for, or 0 when the answer did not say. -
getRefreshToken
The refresh token, or null. -
getScopes
-
getAdditionalParameters
-
getIdToken
The ID token as it was sent, or null.
-