public final class JWT extends Object
Constructor and Description |
---|
JWT(KeyStore keyStore,
char[] keyStorePassword) |
JWT(String key,
boolean keyPrivate) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
availableAlgorithms() |
io.vertx.core.json.JsonObject |
decode(String token) |
boolean |
isUnsecure() |
String |
sign(io.vertx.core.json.JsonObject payload,
io.vertx.core.json.JsonObject options) |
public JWT(KeyStore keyStore, char[] keyStorePassword)
public JWT(String key, boolean keyPrivate)
public io.vertx.core.json.JsonObject decode(String token)
public String sign(io.vertx.core.json.JsonObject payload, io.vertx.core.json.JsonObject options)
public boolean isUnsecure()
public Collection<String> availableAlgorithms()
Copyright © 2017. All rights reserved.