Package io.quarkus.oidc
Class AuthorizationCodeTokens
java.lang.Object
io.quarkus.oidc.AuthorizationCodeTokens
Authorization Code Flow Session State
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationCodeTokens(String idToken, String accessToken, String refreshToken) AuthorizationCodeTokens(String idToken, String accessToken, String refreshToken, Long accessTokenExpiresIn) -
Method Summary
Modifier and TypeMethodDescriptionGet the access tokenGet the access token expires_in value in seconds.Get the ID tokenGet the refresh tokenvoidsetAccessToken(String accessToken) Set the access tokenvoidsetAccessTokenExpiresIn(Long accessTokenExpiresIn) Set the access token expires_in value in seconds.voidsetIdToken(String idToken) Set the ID tokenvoidsetRefreshToken(String refreshToken) Set the refresh token
-
Constructor Details
-
AuthorizationCodeTokens
public AuthorizationCodeTokens() -
AuthorizationCodeTokens
-
AuthorizationCodeTokens
-
-
Method Details
-
getIdToken
Get the ID token- Returns:
- ID token
-
setIdToken
Set the ID token- Parameters:
idToken- ID token
-
getAccessToken
Get the access token- Returns:
- the access token
-
setAccessToken
Set the access token- Parameters:
accessToken- the access token
-
getRefreshToken
Get the refresh token- Returns:
- refresh token
-
setRefreshToken
Set the refresh token- Parameters:
refreshToken- refresh token
-
getAccessTokenExpiresIn
Get the access token expires_in value in seconds. It is relative to the time the access token is issued at.- Returns:
- access token expires_in value in seconds.
-
setAccessTokenExpiresIn
Set the access token expires_in value in seconds. It is relative to the time the access token is issued at. This property is only checked when an authorization code flow grant completes and does not have to be persisted..- Parameters:
accessTokenExpiresIn- access token expires_in value in seconds.
-