Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public class OidcUserRequest
- Object
- OAuth2UserRequest
- OidcUserRequest
An
OAuth2UserRequest for a provider that also issued an ID token, which
has been verified by the time a service sees it.Constructors
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.