Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public static final class AuthorizationServerSettings.Builder
- Object
- AuthorizationServerSettings.Builder
Builds an
AuthorizationServerSettings.Methods
Inherited methods
Method details
issuer
public AuthorizationServerSettings.Builder issuer(String issuer)defaultAudience
public AuthorizationServerSettings.Builder defaultAudience(String defaultAudience)The resource server an access token is for when the request that
had it issued named none: its aud (RFC 9068). Also given as
cn1.security.authorizationserver.audience. Unless set either
way it is the issuer, which suits a server that issues tokens for
its own API.
A request names a resource server with the resource parameter
(RFC 8707), and the token is then for that one instead. Who the
token was issued to is its client_id claim, never its audience.
authorizationEndpoint
public AuthorizationServerSettings.Builder authorizationEndpoint(String path)tokenEndpoint
public AuthorizationServerSettings.Builder tokenEndpoint(String path)jwkSetEndpoint
public AuthorizationServerSettings.Builder jwkSetEndpoint(String path)tokenRevocationEndpoint
public AuthorizationServerSettings.Builder tokenRevocationEndpoint(String path)deviceAuthorizationEndpoint
public AuthorizationServerSettings.Builder deviceAuthorizationEndpoint(String path)deviceVerificationEndpoint
public AuthorizationServerSettings.Builder deviceVerificationEndpoint(String path)oidcUserInfoEndpoint
public AuthorizationServerSettings.Builder oidcUserInfoEndpoint(String path)build
public AuthorizationServerSettings build()