Uses of Class
io.helidon.security.jwt.Jwt.Builder
Packages that use Jwt.Builder
-
Uses of Jwt.Builder in io.helidon.security.jwt
Methods in io.helidon.security.jwt that return Jwt.BuilderModifier and TypeMethodDescriptionJwt.Builder.addAudience
(String audience) Audience identifies the expected recipients of this JWT (optional).Jwt.Builder.addHeaderClaim
(String claim, Object value) Add a generic header claim.Jwt.Builder.addPayloadClaim
(String claim, Object value) Add a generic payload claim.Jwt.Builder.address
(JwtUtil.Address address) Address of the subject.OAuth2 scope claim to add.Jwt.Builder.addUserGroup
(String group) A user group claim to add.The "alg" claim is used to define the signature algorithm.Jwt.Builder.atHash
(byte[] atHash) Access Token hash value.Audience identifies the expected recipients of this JWT (optional).Birthday of the subject.static Jwt.Builder
Jwt.builder()
Get a builder to create a JWT.Jwt.Builder.cHash
(byte[] cHash) Code hash value.Jwt.Builder.contentType
(String contentType) This header claim should only be used when nesting or encrypting JWT.Email claim.Jwt.Builder.emailVerified
(Boolean emailVerified) Claim defining whether e-mail is verified or not.Jwt.Builder.expirationTime
(Instant expirationTime) The expiration time defines the time that this JWT loses validity.Jwt.Builder.familyName
(String familyName) Family name of subject (surname).Full name of subject.Gender of the subject.Given name of subject (first name).Jwt.Builder.headerBuilder
(Consumer<JwtHeaders.Builder> consumer) Allows configuration of JWT headers directly over theJwtHeaders.Builder
.The issuer claim identifies the principal that issued the JWT.The issue time defines the time that this JWT was issued.A unique identifier of this JWT (optional) - must be unique across issuers.Key id to be used to sign/verify this JWT.Locale of the subject.Jwt.Builder.middleName
(String middleName) Middle name of subject.Nickname of the subject.Nonce value is used to prevent replay attacks and must be returned if it was sent in authentication request.The not before time defines the time that this JWT starts being valid.Jwt.Builder.phoneNumber
(String phoneNumber) Phone number of the subject.Jwt.Builder.phoneNumberVerified
(Boolean phoneNumberVerified) Whether the phone number is verified or not.Profile picture URI of the subject.Jwt.Builder.preferredUsername
(String preferredUsername) Preferred username of the subject.Profile URI of the subject.Jwt.Builder.removePayloadClaim
(String name) Remove a payload claim by its name.OAuth2 scope claims to set.Subject defines the principal this JWT was issued for (e.g.Time zone of the subject.Type of this JWT.Last time the subject's record was updated.Jwt.Builder.userPrincipal
(String principal) User principal claim as defined by Microprofile JWT Auth spec.Website URI of the subject.