Uses of Class
org.apache.juneau.rest.server.auth.oauth.OAuthIntrospectionValidator.Builder
Packages that use OAuthIntrospectionValidator.Builder
Package
Description
OAuth 2.0 / OIDC integration for the Juneau REST server.
-
Uses of OAuthIntrospectionValidator.Builder in org.apache.juneau.rest.server.auth.oauth
Methods in org.apache.juneau.rest.server.auth.oauth that return OAuthIntrospectionValidator.BuilderModifier and TypeMethodDescriptionAdds expected audience values (RFC 7662aud) that a token must carry to be accepted.Sets the cache TTL.Sets the OAuth client ID used for HTTP Basic auth against the introspection endpoint.OAuthIntrospectionValidator.Builder.clientSecret(String value) Sets the OAuth client secret as a literal string.OAuthIntrospectionValidator.Builder.clientSecretSupplier(Supplier<String> value) Sets the OAuth client secret via a supplier (useful for rotating secrets).Overrides theClockused for cache expiry.OAuthIntrospectionValidator.create()Static creator.OAuthIntrospectionValidator.Builder.httpRequestConfigurator(Consumer<com.nimbusds.oauth2.sdk.http.HTTPRequest> value) Sets a callback that customizes the NimbusHTTPRequestbefore it is sent.OAuthIntrospectionValidator.Builder.introspectionEndpoint(URI value) Sets the introspection endpoint URL.OAuthIntrospectionValidator.Builder.requiredScopes(String... scopes) Adds required scopes (scope enforcement lives on the validator, not the filter).Adds expected resource-indicator values (RFC 8707).OAuthIntrospectionValidator.Builder.tokenCache(TokenCache value) Sets a custom token cache.Constructors in org.apache.juneau.rest.server.auth.oauth with parameters of type OAuthIntrospectionValidator.BuilderModifierConstructorDescriptionprotectedConstructor.