represents a token
encodes the token
overload of the encode(string secret) function to simplify encoding of token without algorithm none
used to get the signature of the token Parmas: secret = the secret key used to sign the token
See Implementation
represents a token