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

public final class ClientSettings

  1. Object
  2. ClientSettings
What is asked of one client beyond what OAuth2 asks of every client.

Nested types

class ClientSettings.BuilderBuilds a ClientSettings.

Methods

public static ClientSettings.Builder builder()
public boolean isRequireProofKey()Whether the client must use PKCE with the authorization code.
public boolean isRequireAuthorizationConsent()Always false: this server has no consent page, and a client is authorized for the scopes it was registered with.

Inherited methods

Method details

builder

public static ClientSettings.Builder builder()

isRequireProofKey

public boolean isRequireProofKey()
Whether the client must use PKCE with the authorization code. A public client – one with no secret – must whatever this says.

isRequireAuthorizationConsent

public boolean isRequireAuthorizationConsent()
Always false: this server has no consent page, and a client is authorized for the scopes it was registered with.