Package org.paseto4j.commons
Class TokenAlgorithm
- java.lang.Object
-
- org.paseto4j.commons.TokenAlgorithm
-
public class TokenAlgorithm extends Object
Wrapper class for the chosen Paseto version
-
-
Constructor Summary
Constructors Constructor Description TokenAlgorithm(Version version, Purpose purpose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringheader()Return the header which is a concatenation of the version and the purpose
-