Interface OAuth2User
- All Known Subinterfaces:
OidcUser
- All Known Implementing Classes:
DefaultOAuth2User, DefaultOidcUser
public interface OAuth2User
A user as an identity provider described them.
-
Method Summary
Modifier and TypeMethodDescriptionWhat the provider said of the user, by name.Collection<? extends GrantedAuthority> getName()What the user is called here: the value of the provider's name attribute, or the local account anOAuth2UserServicetied them to.
-
Method Details
-
getAttributes
-
getAuthorities
Collection<? extends GrantedAuthority> getAuthorities() -
getName
String getName()What the user is called here: the value of the provider's name attribute, or the local account anOAuth2UserServicetied them to.
-