public class Options extends Object
| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getNotValidBeforeLeeway() |
String |
getPrivateKey() |
String |
getPrivateKeyPath() |
String |
getPublicKey() |
String |
getPublicKeyPath() |
String |
getSecret() |
boolean |
isJWEToken() |
void |
setJWEToken(boolean jWEToken) |
Options |
setNotValidBeforeLeeway(Integer notValidBeforeLeeway)
Set JWT claim "nbf" to current timestamp minus this value.
|
void |
setPrivateKey(String privateKey) |
void |
setPrivateKeyPath(String privateKeyPath) |
void |
setPublicKey(String publicKey) |
void |
setPublicKeyPath(String publicKeyPath) |
void |
setSecret(String secret) |
public Integer getNotValidBeforeLeeway()
public Options setNotValidBeforeLeeway(Integer notValidBeforeLeeway)
claims in sign().public String getSecret()
public void setSecret(String secret)
secret - the secret to setpublic String getPublicKey()
public void setPublicKey(String publicKey)
publicKey - the publicKey to setpublic String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey - the privateKey to setpublic boolean isJWEToken()
public void setJWEToken(boolean jWEToken)
jWEToken - the jWEToken to setpublic String getPublicKeyPath()
public void setPublicKeyPath(String publicKeyPath)
publicKeyPath - the publicKeyPath to setpublic String getPrivateKeyPath()
public void setPrivateKeyPath(String privateKeyPath)
privateKeyPath - the privateKeyPath to setCopyright © 2017. All rights reserved.