Class ClientSettings

java.lang.Object
com.codename1.backend.security.oauth2.server.authorization.ClientSettings

public final class ClientSettings extends Object
What is asked of one client beyond what OAuth2 asks of every client.
  • 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()
      Whether the user must approve each authorization of this client on a consent page, which grants only the scopes they approve. False unless set, and then a client is authorized for the scopes it asks for out of those it was registered with. A client that registered itself always asks.