Module: Utter::Token
- Defined in:
- lib/utter.rb
Overview
any class that inherits from Endpoint, may include Utter::Token to add security token, a token can be used for authenticating a signed-in user or as an API for your system.
Usage
via curl api.example.com/v1/endpoint_name -u token_value: via Browser token_value@localhost:4567/ If you need to authenticate via bearer auth (e.g., for a cross-origin request), use -H “Authorization: Bearer #token_value” instead of -u token_value:
More Info