Interface ITokenEndpoint


  • public interface ITokenEndpoint
    Interface for the token endpoint.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • 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.