Class OAuth2RefreshTokenGrantRequest

    • Constructor Detail

      • OAuth2RefreshTokenGrantRequest

        public OAuth2RefreshTokenGrantRequest​(ClientRegistration clientRegistration,
                                              OAuth2AccessToken accessToken,
                                              OAuth2RefreshToken refreshToken)
        Constructs an OAuth2RefreshTokenGrantRequest using the provided parameters.
        Parameters:
        clientRegistration - the authorized client's registration
        accessToken - the access token credential granted
        refreshToken - the refresh token credential granted
      • OAuth2RefreshTokenGrantRequest

        public OAuth2RefreshTokenGrantRequest​(ClientRegistration clientRegistration,
                                              OAuth2AccessToken accessToken,
                                              OAuth2RefreshToken refreshToken,
                                              java.util.Set<java.lang.String> scopes)
        Constructs an OAuth2RefreshTokenGrantRequest using the provided parameters.
        Parameters:
        clientRegistration - the authorized client's registration
        accessToken - the access token credential granted
        refreshToken - the refresh token credential granted
        scopes - the scopes to request