Class AuthorizationServerSettings.Builder
java.lang.Object
com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- Enclosing class:
AuthorizationServerSettings
Builds an
AuthorizationServerSettings.-
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint(String path) build()defaultAudience(String defaultAudience) The resource server an access token is for when the request that had it issued named none: itsaud(RFC 9068).jwkSetEndpoint(String path) oidcUserInfoEndpoint(String path) tokenEndpoint(String path)
-
Method Details
-
issuer
-
defaultAudience
The resource server an access token is for when the request that had it issued named none: its
aud(RFC 9068). Also given ascn1.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
resourceparameter (RFC 8707), and the token is then for that one instead. Who the token was issued to is itsclient_idclaim, never its audience. -
authorizationEndpoint
-
tokenEndpoint
-
jwkSetEndpoint
-
tokenRevocationEndpoint
-
deviceAuthorizationEndpoint
-
deviceVerificationEndpoint
-
oidcUserInfoEndpoint
-
build
-