java.lang.Object | ||
↳ | org.apache.oltu.commons.json.CustomizableBuilder<E> | |
↳ | org.apache.oltu.oauth2.jwt.JWT.Builder |
A simple JWT
builder.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
JWT instance. | |||||||||||
Sets the JWT Claims Set
aud . | |||||||||||
Set the JWT Claims Set custom field.
| |||||||||||
Sets the JWT Claims Set
exp . | |||||||||||
Sets the JWT Claims Set
issuedAt . | |||||||||||
Sets the JWT Claims Set
iss . | |||||||||||
Sets the JWT Claims Set
jti . | |||||||||||
Sets the JWT Claims Set
nbf . | |||||||||||
Sets the JWT Claims Set
sub . | |||||||||||
Sets the JWT Claims Set
typ . | |||||||||||
Sets the JWT Header
alg . | |||||||||||
Sets the JWT Header
cty . | |||||||||||
Set the JWT Header custom field.
| |||||||||||
Sets the JWT Header
typ . | |||||||||||
Sets the JWT signature.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.oltu.commons.json.CustomizableBuilder
| |||||||||||
From class
java.lang.Object
|
Sets the JWT Claims Set aud
.
claimsSetAudience | the JWT Claims Set aud . |
---|
Set the JWT Claims Set custom field.
key | the custom field name. |
---|---|
value | value the custom field value. |
Sets the JWT Claims Set exp
.
claimsSetExpirationTime | the JWT Claims Set exp . |
---|
Sets the JWT Claims Set issuedAt
.
claimsSetIssuedAt | the JWT Claims Set issuedAt . |
---|
Sets the JWT Claims Set iss
.
claimsSetIssuer | the JWT Claims Set iss . |
---|
Sets the JWT Claims Set jti
.
claimsSetJwdId | the JWT Claims Set jti . |
---|
Sets the JWT Claims Set nbf
.
claimsSetNotBefore | the JWT Claims Set nbf . |
---|
Sets the JWT Claims Set sub
.
claimsSetSubject | the JWT Claims Set sub . |
---|
Sets the JWT Claims Set typ
.
claimsSetType | the JWT Claims Set typ . |
---|
Sets the JWT Header alg
.
headerAlgorithm | the JWT Header alg . |
---|
Sets the JWT Header cty
.
headerContentType | the JWT Header cty . |
---|
Set the JWT Header custom field.
key | the custom field name. |
---|---|
value | value the custom field value. |
Sets the JWT Header typ
.
headerType | the JWT Header typ . |
---|
Sets the JWT signature.