Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class DefaultOAuth2UserService
- Object
- DefaultOAuth2UserService
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.
Constructors
public DefaultOAuth2UserService() |
Methods
public OAuth2User loadUser(OAuth2UserRequest userRequest) | The user. |
Inherited methods
Constructor details
DefaultOAuth2UserService
public DefaultOAuth2UserService()Method details
loadUser
public OAuth2User loadUser(OAuth2UserRequest userRequest)The user.
OAuth2AuthenticationException: to refuse the sign-in