public class Jwt extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.nimbusds.jwt.JWTClaimsSet.Builder |
builder |
| Constructor and Description |
|---|
Jwt(String type,
int hours)
Initializes this Jwt with the given type and hours of validity from now on.
|
| Modifier and Type | Method and Description |
|---|---|
com.nimbusds.jwt.JWTClaimsSet.Builder |
getBuilder()
Todo.
|
String |
getJwtid()
Todo.
|
protected String |
sign(PrivateKey privateKey) |
public Jwt(String type, int hours)
type - Todo.hours - Todo.protected String sign(PrivateKey privateKey) throws com.nimbusds.jose.JOSEException
com.nimbusds.jose.JOSEExceptionpublic com.nimbusds.jwt.JWTClaimsSet.Builder getBuilder()
public String getJwtid()
Copyright © 2020 Samply Community. All rights reserved.