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