@Deprecated public class JwtHelper extends Object
| Constructor and Description |
|---|
JwtHelper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Jwt |
decode(String token)
Deprecated.
Creates a token from an encoded token string.
|
static Jwt |
decodeAndVerify(String token,
SignatureVerifier verifier)
Deprecated.
|
static Jwt |
encode(CharSequence content,
Signer signer)
Deprecated.
|
static Jwt |
encode(CharSequence content,
Signer signer,
Map<String,String> headers)
Deprecated.
|
static Map<String,String> |
headers(String token)
Deprecated.
|
public static Jwt decode(String token)
token - the (non-null) encoded token (three Base-64 encoded strings separated
by "." characters)public static Jwt decodeAndVerify(String token, SignatureVerifier verifier)
public static Jwt encode(CharSequence content, Signer signer)
Copyright © 2020 SpringSource. All rights reserved.