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.JwtAuthProvider.Builder.clockSkew
(int clockSkew) Clock skew to be accounted for in token expiration and max age validations in seconds.Load this builder from a configuration.JwtAuthProvider.Builder.cookieProperty
(String cookieProperty) Specific cookie property name where we should search for JWT property.JwtAuthProvider.Builder.decryptKeyAlgorithm
(String decryptionKeyAlgorithm) Expected key management algorithm supported by the MP JWT endpoint.JwtAuthProvider.Builder.decryptKeyLocation
(String decryptKeyLocation) Private key for 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) Expected audiences of incoming tokens.JwtAuthProvider.Builder.expectedIssuer
(String issuer) Expected issuer in incoming requests.JwtAuthProvider.Builder.expectedMaxTokenAge
(int expectedMaxTokenAge) Maximal expected token age in seconds.Issuer used to create new JWTs.Name of the header expected to contain the token.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