| Package | Description |
|---|---|
| org.apache.oltu.oauth2.jwt |
Basic JSON Web Token implementation.
|
| Modifier and Type | Method and Description |
|---|---|
JWT.Builder |
JWT.Builder.setClaimsSetAudience(String claimsSetAudience)
Sets the JWT Claims Set
aud for a single audience. |
JWT.Builder |
JWT.Builder.setClaimsSetAudiences(List<String> claimsSetAudiences)
Sets the JWT Claims Set
aud. |
JWT.Builder |
JWT.Builder.setClaimsSetCustomField(String key,
Object value)
Set the JWT Claims Set custom field.
|
JWT.Builder |
JWT.Builder.setClaimsSetExpirationTime(long claimsSetExpirationTime)
Sets the JWT Claims Set
exp. |
JWT.Builder |
JWT.Builder.setClaimsSetIssuedAt(long claimsSetIssuedAt)
Sets the JWT Claims Set
issuedAt. |
JWT.Builder |
JWT.Builder.setClaimsSetIssuer(String claimsSetIssuer)
Sets the JWT Claims Set
iss. |
JWT.Builder |
JWT.Builder.setClaimsSetJwdId(String claimsSetJwdId)
Sets the JWT Claims Set
jti. |
JWT.Builder |
JWT.Builder.setClaimsSetNotBefore(String claimsSetNotBefore)
Sets the JWT Claims Set
nbf. |
JWT.Builder |
JWT.Builder.setClaimsSetSubject(String claimsSetSubject)
Sets the JWT Claims Set
sub. |
JWT.Builder |
JWT.Builder.setClaimsSetType(String claimsSetType)
Sets the JWT Claims Set
typ. |
JWT.Builder |
JWT.Builder.setHeaderAlgorithm(String headerAlgorithm)
Sets the JWT Header
alg. |
JWT.Builder |
JWT.Builder.setHeaderContentType(String headerContentType)
Sets the JWT Header
cty. |
JWT.Builder |
JWT.Builder.setHeaderCustomField(String key,
Object value)
Set the JWT Header custom field.
|
JWT.Builder |
JWT.Builder.setHeaderType(String headerType)
Sets the JWT Header
typ. |
JWT.Builder |
JWT.Builder.setSignature(String signature)
Sets the JWT signature.
|
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.