Class CustomUserTypesOAuth2UserService

    • Constructor Summary

      Constructors 
      Constructor Description
      CustomUserTypesOAuth2UserService​(java.util.Map<java.lang.String,​java.lang.Class<? extends OAuth2User>> customUserTypes)
      Deprecated.
      Constructs a CustomUserTypesOAuth2UserService using the provided parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      OAuth2User loadUser​(OAuth2UserRequest userRequest)
      Deprecated.
      Returns an OAuth2User after obtaining the user attributes of the End-User from the UserInfo Endpoint.
      void setRequestEntityConverter​(org.springframework.core.convert.converter.Converter<OAuth2UserRequest,​org.springframework.http.RequestEntity<?>> requestEntityConverter)
      Deprecated.
      Sets the Converter used for converting the OAuth2UserRequest to a RequestEntity representation of the UserInfo Request.
      void setRestOperations​(org.springframework.web.client.RestOperations restOperations)
      Deprecated.
      Sets the RestOperations used when requesting the UserInfo resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomUserTypesOAuth2UserService

        public CustomUserTypesOAuth2UserService​(java.util.Map<java.lang.String,​java.lang.Class<? extends OAuth2User>> customUserTypes)
        Deprecated.
        Constructs a CustomUserTypesOAuth2UserService using the provided parameters.
        Parameters:
        customUserTypes - a Map of OAuth2User type(s) keyed by Registration Id
    • Method Detail

      • setRequestEntityConverter

        public final void setRequestEntityConverter​(org.springframework.core.convert.converter.Converter<OAuth2UserRequest,​org.springframework.http.RequestEntity<?>> requestEntityConverter)
        Deprecated.
        Sets the Converter used for converting the OAuth2UserRequest to a RequestEntity representation of the UserInfo Request.
        Parameters:
        requestEntityConverter - the Converter used for converting to a RequestEntity representation of the UserInfo Request
        Since:
        5.1
      • setRestOperations

        public final void setRestOperations​(org.springframework.web.client.RestOperations restOperations)
        Deprecated.
        Sets the RestOperations used when requesting the UserInfo resource.

        NOTE: At a minimum, the supplied restOperations must be configured with the following:

        1. ResponseErrorHandler - OAuth2ErrorResponseErrorHandler
        Parameters:
        restOperations - the RestOperations used when requesting the UserInfo resource
        Since:
        5.1