public class AADOAuth2UserService extends Object implements org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest,org.springframework.security.oauth2.core.oidc.user.OidcUser>
GrantedAuthority.| Constructor and Description |
|---|
AADOAuth2UserService(AADAuthenticationProperties properties) |
AADOAuth2UserService(AADAuthenticationProperties properties,
GraphClient graphClient) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.core.oidc.user.OidcUser |
loadUser(org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest userRequest) |
public AADOAuth2UserService(AADAuthenticationProperties properties)
public AADOAuth2UserService(AADAuthenticationProperties properties, GraphClient graphClient)
public org.springframework.security.oauth2.core.oidc.user.OidcUser loadUser(org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest userRequest)
throws org.springframework.security.oauth2.core.OAuth2AuthenticationException
loadUser in interface org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest,org.springframework.security.oauth2.core.oidc.user.OidcUser>org.springframework.security.oauth2.core.OAuth2AuthenticationExceptionCopyright © 2021 Microsoft Corporation. All rights reserved.