public interface Token
All implementations of this interface must be immutable and thread-safe.
Modifier and Type | Interface and Description |
---|---|
static class |
Token.Jose
JSON Object Signing and Encryption Header.
|
static class |
Token.Jwt
JSON Web Token.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encoded()
Base64 encoded JSON output.
|
javax.json.JsonObject |
json()
JSON output.
|
javax.json.JsonObject json()
byte[] encoded() throws IOException
IOException
- If encoding failsCopyright © 2015–2018 Take. All rights reserved.