Package io.micronaut.security.endpoints
Class TokenRefreshRequest
java.lang.Object
io.micronaut.security.endpoints.TokenRefreshRequest
Encapsulate the request to get a new access token.
- Since:
- 1.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTokenRefreshRequest
(@NonNull String grantType, @NonNull String refreshToken) -
Method Summary
-
Field Details
-
GRANT_TYPE_REFRESH_TOKEN
- See Also:
-
GRANT_TYPE
- See Also:
-
-
Constructor Details
-
Method Details
-
getGrantType
grantType getter.- Returns:
- e.g refresh_token
-
getRefreshToken
refreshToken getter.- Returns:
- e.g. XXXXX
-