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

public class OidcUserRequest

  1. Object
  2. OAuth2UserRequest
  3. OidcUserRequest
An OAuth2UserRequest for a provider that also issued an ID token, which has been verified by the time a service sees it.

Constructors

public OidcUserRequest(ClientRegistration clientRegistration, OAuth2AccessTokenResponse tokenResponse, Jwt idToken)
public OidcUserRequest(ClientRegistration clientRegistration, OAuth2AccessTokenResponse tokenResponse, Jwt idToken, Collection<String> requestedScopes)Includes the scopes actually sent, after authorization request customization.

Methods

public Jwt getIdToken()The verified ID token.

Inherited methods

Constructor details

OidcUserRequest

public OidcUserRequest(ClientRegistration clientRegistration, OAuth2AccessTokenResponse tokenResponse, Jwt idToken)

OidcUserRequest

public OidcUserRequest(ClientRegistration clientRegistration, OAuth2AccessTokenResponse tokenResponse, Jwt idToken, Collection<String> requestedScopes)
Includes the scopes actually sent, after authorization request customization.

Method details

getIdToken

public Jwt getIdToken()
The verified ID token.