Package | Description |
---|---|
com.ebasetech.xi.api |
Modifier and Type | Method and Description |
---|---|
JWTBuilder |
JWTBuilder.addClaim(java.lang.String name,
java.lang.Object value)
Add a new claim to the JWT.
|
JWTBuilder |
JWTBuilder.contentType(java.lang.String cty)
Set the content type header to the JWT Header.
|
JWTBuilder |
JWTManager.getJwtBuilder()
Returns a JWT builder to build a JWT (JSON Web Token)
|
JWTBuilder |
JWTBuilder.keyId(java.lang.String kid)
Set the key id header to the JWT Header.
|
JWTBuilder |
JWTBuilder.setAudience(java.lang.String audience)
Sets RFC 7519 standard registered claim aud - Audience.
|
JWTBuilder |
JWTBuilder.setExpiry(java.util.Date expiry)
Sets RFC 7519 standard registered claim exp - Expiration.
|
JWTBuilder |
JWTBuilder.setExpiryMillies(long expiry)
Sets RFC 7519 standard registered claim exp - Expiration.
|
JWTBuilder |
JWTBuilder.setHeaderParam(java.lang.String name,
java.lang.Object value)
Add a new header to the JWT.
|
JWTBuilder |
JWTBuilder.setId(java.lang.String id)
Sets RFC 7519 standard registered claim jti - JWT ID.
|
JWTBuilder |
JWTBuilder.setIssuedAt(java.util.Date date)
Sets RFC 7519 standard registered claim iat - Issued At.
|
JWTBuilder |
JWTBuilder.setIssuer(java.lang.String issuer)
Sets RFC 7519 standard registered claim iss - Issuer.
|
JWTBuilder |
JWTBuilder.setNotBefore(java.util.Date date)
Sets RFC 7519 standard registered claim nbf - Not Before.
|
JWTBuilder |
JWTBuilder.setPayload(java.lang.String payload)
Sets the JWT's payload to be a plaintext (non-JSON) string.
|
JWTBuilder |
JWTBuilder.setSubject(java.lang.String subject)
Sets RFC 7519 standard registered claim sub - Subject.
|
JWTBuilder |
JWTBuilder.signWithEC(java.lang.String algorithm,
java.security.PrivateKey privateKey) |
JWTBuilder |
JWTBuilder.signWithHMAC(java.lang.String algorithm,
javax.crypto.SecretKey secret) |
JWTBuilder |
JWTBuilder.signWithRSA(java.lang.String algorithm,
java.security.PrivateKey privateKey) |