Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public final class OidcUserService

  1. Object
  2. OidcUserService

ImplementsOAuth2UserService<OidcUserRequest, OidcUser>

The user of an OpenID Connect provider: the claims of the verified ID token, and – when the registration names a user info address and a scope that has claims there was granted – what that address adds to them.

The user info is believed only when its sub is the ID token’s: without that check a provider’s answer about one user could be attached to another. The user has the authority OIDC_USER, and SCOPE_x for every scope granted.

Constructors

public OidcUserService()

Methods

public OidcUser loadUser(OidcUserRequest userRequest)The user.

Inherited methods

Constructor details

OidcUserService

public OidcUserService()

Method details

loadUser

public OidcUser loadUser(OidcUserRequest userRequest)

The user.

  • OAuth2AuthenticationException: to refuse the sign-in