Uses of Class
io.helidon.microprofile.jwt.auth.JwtAuthProvider.Builder
Package
Description
Implementation of Microprofile JWT Auth specification.
-
Uses of JwtAuthProvider.Builder in io.helidon.microprofile.jwt.auth
Modifier and TypeMethodDescriptionJwtAuthProvider.Builder.addExpectedAudience
(String audience) Add an audience expected in inbound JWTs.JwtAuthProvider.Builder.allowImpersonation
(boolean allowImpersonation) Whether to allow impersonation by explicitly overriding username from outbound requests usingEndpointConfig.PROPERTY_OUTBOUND_ID
property.JwtAuthProvider.Builder.atnTokenHandler
(TokenHandler tokenHandler) Token handler to extract username from request.JwtAuthProvider.Builder.authenticate
(boolean authenticate) Whether to authenticate requests.static JwtAuthProvider.Builder
JwtAuthProvider.builder()
A builder for this provider.Load this builder from a configuration.JwtAuthProvider.Builder.cookieProperty
(String cookieProperty) Specific cookie property name where we should search for JWT property.JwtAuthProvider.Builder.decryptKeyLocation
(String decryptKeyLocation) Private key to decryption of encrypted claims.JwtAuthProvider.Builder.defaultJwk
(Jwk defaultJwk) Default JWK which should be used.JwtAuthProvider.Builder.defaultKeyId
(String defaultKeyId) Default JWT key ID which should be used.JwtAuthProvider.Builder.expectedAudience
(String audience) Deprecated, for removal: This API element is subject to removal in a future version.JwtAuthProvider.Builder.expectedAudiences
(Collection<String> audiences) Replace expected audiences with the content of the provided collection.JwtAuthProvider.Builder.expectedIssuer
(String issuer) Expected issuer in incoming requests.Issuer used to create new JWTs.JwtAuthProvider.Builder.loadOnStartup
(boolean loadOnStartup) Whether to load JWK verification keys on server startup Default value isfalse
.JwtAuthProvider.Builder.optional
(boolean optional) Whether authentication is required.JwtAuthProvider.Builder.outboundConfig
(OutboundConfig config) Configuration of outbound rules.JwtAuthProvider.Builder.propagate
(boolean propagate) Whether to propagate identity.String representation of the public key.JwtAuthProvider.Builder.publicKeyPath
(String publicKeyPath) Path to public key.JWK resource used to sign JWTs created by us.JwtAuthProvider.Builder.subjectType
(SubjectType subjectType) Principal type this provider extracts (and also propagates).JWK resource used to verify JWTs created by other parties.
addExpectedAudience(String)
instead