Class OAuth2UserRequest

    • Constructor Detail

      • OAuth2UserRequest

        public OAuth2UserRequest​(ClientRegistration clientRegistration,
                                 OAuth2AccessToken accessToken)
        Constructs an OAuth2UserRequest using the provided parameters.
        Parameters:
        clientRegistration - the client registration
        accessToken - the access token
      • OAuth2UserRequest

        public OAuth2UserRequest​(ClientRegistration clientRegistration,
                                 OAuth2AccessToken accessToken,
                                 java.util.Map<java.lang.String,​java.lang.Object> additionalParameters)
        Constructs an OAuth2UserRequest using the provided parameters.
        Parameters:
        clientRegistration - the client registration
        accessToken - the access token
        additionalParameters - the additional parameters, may be empty
        Since:
        5.1