Trifolium.Auth.token
You're seeing just the function
token
, go back to Trifolium.Auth module for more information.
Link to this function
token(origin, ip \\ nil)
Specs
token(String.t(), String.t() | nil) :: Trifolium.API.response()
Generates a JWT token for a given origin
, which can be used in your client side
code, without exposing your private token. You can also specify a ip
along a origin
so that it works only from some giving client IP Address.