Class SsoOAuth2UserService

java.lang.Object
org.springframework.security.oauth2.client.userinfo.DefaultOAuth2UserService
com.bytedesk.core.rbac.auth.sso.SsoOAuth2UserService
All Implemented Interfaces:
org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest,org.springframework.security.oauth2.core.user.OAuth2User>

@Service public class SsoOAuth2UserService extends org.springframework.security.oauth2.client.userinfo.DefaultOAuth2UserService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.oauth2.core.user.OAuth2User
    loadUser(org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest userRequest)
     

    Methods inherited from class org.springframework.security.oauth2.client.userinfo.DefaultOAuth2UserService

    setAttributesConverter, setRequestEntityConverter, setRestOperations

    Methods inherited from class java.lang.Object

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

    • SsoOAuth2UserService

      public SsoOAuth2UserService()
  • Method Details

    • loadUser

      public org.springframework.security.oauth2.core.user.OAuth2User loadUser(org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest userRequest) throws org.springframework.security.oauth2.core.OAuth2AuthenticationException
      Specified by:
      loadUser in interface org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest,org.springframework.security.oauth2.core.user.OAuth2User>
      Overrides:
      loadUser in class org.springframework.security.oauth2.client.userinfo.DefaultOAuth2UserService
      Throws:
      org.springframework.security.oauth2.core.OAuth2AuthenticationException