Class ClientSettings
java.lang.Object
com.codename1.backend.security.oauth2.server.authorization.ClientSettings
What is asked of one client beyond what OAuth2 asks of every client.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientSettings.Builderbuilder()booleanWhether the user must approve each authorization of this client on a consent page, which grants only the scopes they approve.booleanWhether the client must use PKCE with the authorization code.
-
Method Details
-
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.
-