Package com.bytedesk.core.rbac.auth.sso
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.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
-
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 interfaceorg.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest,
org.springframework.security.oauth2.core.user.OAuth2User> - Overrides:
loadUser
in classorg.springframework.security.oauth2.client.userinfo.DefaultOAuth2UserService
- Throws:
org.springframework.security.oauth2.core.OAuth2AuthenticationException
-