public class JWTHandler extends Object
Retrieves and verifies user data using JWT
| Modifier and Type | Method and Description |
|---|---|
static JWTHandler |
create(String secret) |
String |
extractUserFromJWT(String jwt) |
String |
signJWT(String username) |
boolean |
verifyJWT(String jwt) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.