| Package | Description |
|---|---|
| io.helidon.security.jwt |
JWT (JSON web token) support.
|
| Modifier and Type | Method and Description |
|---|---|
Jwt.Builder |
Jwt.Builder.addHeaderClaim(java.lang.String claim,
java.lang.Object value)
Add a generic header claim.
|
Jwt.Builder |
Jwt.Builder.addPayloadClaim(java.lang.String claim,
java.lang.Object value)
Add a generic payload claim.
|
Jwt.Builder |
Jwt.Builder.address(JwtUtil.Address address)
Address of the subject.
|
Jwt.Builder |
Jwt.Builder.addScope(java.lang.String scope)
OAuth2 scope claim to add.
|
Jwt.Builder |
Jwt.Builder.algorithm(java.lang.String algorithm)
The "alg" claim is used to define the signature algorithm.
|
Jwt.Builder |
Jwt.Builder.atHash(byte[] atHash)
Access Token hash value.
|
Jwt.Builder |
Jwt.Builder.audience(java.lang.String audience)
Audience identifies the expected recipients of this JWT (optional).
|
Jwt.Builder |
Jwt.Builder.birthday(java.time.LocalDate birthday)
Birthday of the subject.
|
static Jwt.Builder |
Jwt.builder()
Get a builder to create a JWT.
|
Jwt.Builder |
Jwt.Builder.cHash(byte[] cHash)
Code hash value.
|
Jwt.Builder |
Jwt.Builder.contentType(java.lang.String contentType)
This header claim should only be used when nesting or encrypting JWT.
|
Jwt.Builder |
Jwt.Builder.email(java.lang.String email)
Email claim.
|
Jwt.Builder |
Jwt.Builder.emailVerified(java.lang.Boolean emailVerified)
Claim defining whether e-mail is verified or not.
|
Jwt.Builder |
Jwt.Builder.expirationTime(java.time.Instant expirationTime)
The expiration time defines the time that this JWT loses validity.
|
Jwt.Builder |
Jwt.Builder.familyName(java.lang.String familyName)
Family name of subject (surname).
|
Jwt.Builder |
Jwt.Builder.fullName(java.lang.String fullName)
Full name of subject.
|
Jwt.Builder |
Jwt.Builder.gender(java.lang.String gender)
Gender of the subject.
|
Jwt.Builder |
Jwt.Builder.givenName(java.lang.String givenName)
Given name of subject (first name).
|
Jwt.Builder |
Jwt.Builder.issuer(java.lang.String issuer)
The issuer claim identifies the principal that issued the JWT.
|
Jwt.Builder |
Jwt.Builder.issueTime(java.time.Instant issueTime)
The issue time defines the time that this JWT was issued.
|
Jwt.Builder |
Jwt.Builder.jwtId(java.lang.String jwtId)
A unique identifier of this JWT (optional) - must be unique across issuers.
|
Jwt.Builder |
Jwt.Builder.keyId(java.lang.String keyId)
Key id to be used to sign/verify this JWT.
|
Jwt.Builder |
Jwt.Builder.locale(java.util.Locale locale)
Locale of the subject.
|
Jwt.Builder |
Jwt.Builder.middleName(java.lang.String middleName)
Middle name of subject.
|
Jwt.Builder |
Jwt.Builder.nickname(java.lang.String nickname)
Nickname of the subject.
|
Jwt.Builder |
Jwt.Builder.nonce(java.lang.String nonce)
Nonce value is used to prevent replay attacks and must be returned if it was sent in authentication request.
|
Jwt.Builder |
Jwt.Builder.notBefore(java.time.Instant notBefore)
The not before time defines the time that this JWT starts being valid.
|
Jwt.Builder |
Jwt.Builder.phoneNumber(java.lang.String phoneNumber)
Phone number of the subject.
|
Jwt.Builder |
Jwt.Builder.phoneNumberVerified(java.lang.Boolean phoneNumberVerified)
Whether the phone number is verified or not.
|
Jwt.Builder |
Jwt.Builder.picture(java.net.URI picture)
Profile picture URI of the subject.
|
Jwt.Builder |
Jwt.Builder.preferredUsername(java.lang.String preferredUsername)
Preferred username of the subject.
|
Jwt.Builder |
Jwt.Builder.profile(java.net.URI profile)
Profile URI of the subject.
|
Jwt.Builder |
Jwt.Builder.removePayloadClaim(java.lang.String name)
Remove a payload claim by its name.
|
Jwt.Builder |
Jwt.Builder.scopes(java.util.List<java.lang.String> scopes)
OAuth2 scope claims to set.
|
Jwt.Builder |
Jwt.Builder.subject(java.lang.String subject)
Subject defines the principal this JWT was issued for (e.g.
|
Jwt.Builder |
Jwt.Builder.timeZone(java.time.ZoneId timeZone)
Time zone of the subject.
|
Jwt.Builder |
Jwt.Builder.type(java.lang.String type)
Type of this JWT.
|
Jwt.Builder |
Jwt.Builder.updatedAt(java.time.Instant updatedAt)
Last time the subject's record was updated.
|
Jwt.Builder |
Jwt.Builder.website(java.net.URI website)
Website URI of the subject.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.