Uses of Class
io.helidon.security.jwt.JwtHeaders.Builder
-
Uses of JwtHeaders.Builder in io.helidon.security.jwt
Modifier and TypeMethodDescriptionJwtHeaders.Builder.addHeaderAudience
(String audience) Audience identifies the expected recipients of this JWT (optional).JwtHeaders.Builder.addHeaderClaim
(String claim, Object value) Add a header claim.JwtHeaders.Builder.addHeaderCritical
(String critical) The critical claim is used to indicate that certain claims are critical and must be understood (optional).The "alg" claim is used to define the signature algorithm.static JwtHeaders.Builder
JwtHeaders.builder()
Create a new builder for header claims.JwtHeaders.Builder.contentType
(String contentType) This header claim should only be used when nesting or encrypting JWT.JwtHeaders.Builder.encryption
(String encryption) Encryption algorithm to use.JwtHeaders.Builder.headerAudience
(List<String> audience) Audience identifies the expected recipients of this JWT (optional).JwtHeaders.Builder.headerCritical
(List<String> critical) The critical claim is used to indicate that certain claims are critical and must be understood (optional).JwtHeaders.Builder.headerIssuer
(String issuer) The issuer claim identifies the principal that issued the JWT.JwtHeaders.Builder.headerSubject
(String subject) Subject defines the principal this JWT was issued for (e.g.Key id to be used to sign/verify this JWT.Type of this JWT.Modifier and TypeMethodDescriptionJwt.Builder.headerBuilder
(Consumer<JwtHeaders.Builder> consumer) Allows configuration of JWT headers directly over theJwtHeaders.Builder
.