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.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.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.