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

public interface OidcUser

ExtendsOAuth2User

Known subtypesDefaultOidcUser

A user an OpenID Connect provider vouched for with an ID token.

Methods

public abstract Jwt getIdToken()The verified ID token.
public abstract Map<String, Object> getClaims()The claims of the ID token, with what the provider’s user info added.
public abstract String getSubject()The sub claim: who the user is at the provider, for good.
public abstract String getEmail()The email claim, or null.
public abstract boolean isEmailVerified()Whether the provider says it has verified getEmail.

Inherited methods

Method details

getIdToken

public abstract Jwt getIdToken()
The verified ID token.

getClaims

public abstract Map<String, Object> getClaims()
The claims of the ID token, with what the provider’s user info added.

getSubject

public abstract String getSubject()
The sub claim: who the user is at the provider, for good.

getEmail

public abstract String getEmail()
The email claim, or null.

isEmailVerified

public abstract boolean isEmailVerified()
Whether the provider says it has verified getEmail. False when it does not say.