Package de.xima.fc.security.token
Interface ITokenEndpoint
-
public interface ITokenEndpointInterface for the token endpoint.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRefreshTokenResponserefresh(String clientName, String refreshToken)Refreshes the access token using the refresh token.
-
-
-
Method Detail
-
refresh
IRefreshTokenResponse refresh(String clientName, String refreshToken)
Refreshes the access token using the refresh token.- Parameters:
clientName- The name of the pac4j client.refreshToken- The refresh token.- Returns:
- The response to the refresh token request containing the new access token and refresh token.
- Throws:
RuntimeException- If the request fails.
-
-