Package org.takes.facets.auth
Class Token.Jose
- java.lang.Object
-
- org.takes.facets.auth.Token.Jose
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.takes.facets.auth.Token
Token.Jose, Token.Jwt
-
-
Constructor Summary
Constructors Constructor Description Jose(int bitlength)
JSON Object Signing and Encryption Header.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
encoded()
Base64 encoded JSON output.javax.json.JsonObject
json()
JSON output.
-
-
-
Field Detail
-
ALGORITHM
public static final String ALGORITHM
The header short for algorithm.- See Also:
- Constant Field Values
-
TYP
public static final String TYP
The header short for token type.- See Also:
- Constant Field Values
-
-
Method Detail
-
json
public javax.json.JsonObject json()
Description copied from interface:Token
JSON output.
-
-