Class OidcUserRequest
java.lang.Object
com.codename1.backend.security.oauth2.client.OAuth2UserRequest
com.codename1.backend.security.oauth2.client.OidcUserRequest
An
OAuth2UserRequest for a provider that also issued an ID token, which
has been verified by the time a service sees it.-
Constructor Summary
ConstructorsConstructorDescriptionOidcUserRequest(ClientRegistration clientRegistration, OAuth2AccessTokenResponse tokenResponse, Jwt idToken) OidcUserRequest(ClientRegistration clientRegistration, OAuth2AccessTokenResponse tokenResponse, Jwt idToken, Collection<String> requestedScopes) Includes the scopes actually sent, after authorization request customization. -
Method Summary
Methods inherited from class OAuth2UserRequest
getAccessToken, getClientRegistration, getRequestedScopes, getTokenResponse
-
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
The verified ID token.
-