Token.encode

overload of the encode(string secret) function to simplify encoding of token without algorithm none

  1. string encode(string secret)
  2. string encode()
    class Token
    string
    encode
    ()

Return Value

Type: string

base64 representation of the token

Meta