module

Ktistec::JWT

Class methods

decode(token, secret_key = Ktistec.secret_key)

Decodes the token. Returns the payload.

Source
encode(payload, secret_key = Ktistec.secret_key)

Encodes the payload. Generates a token.

Source
expired?(payload)
Source

Nested types