Class DefaultOAuth2UserService

java.lang.Object
com.codename1.backend.security.oauth2.client.DefaultOAuth2UserService
All Implemented Interfaces:
OAuth2UserService<OAuth2UserRequest, OAuth2User>

public final class DefaultOAuth2UserService extends Object implements OAuth2UserService<OAuth2UserRequest, OAuth2User>

The user of a provider that is OAuth2 without OpenID Connect -- GitHub: its attributes are what the provider's user info address answers the access token with, and its name is the registration's name attribute among them.

The user has the authority OAUTH2_USER, and SCOPE_x for every scope granted.