Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Add authentication #5

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Add authentication #5

merged 1 commit into from
Apr 3, 2024

Commits on Apr 3, 2024

  1. Add authentication

    Add endpoints `/accounts/register` & `/accounts/login`
    
    When you register or login successfully you receive an auth token.
    This needs to be sent in the X-Auth-Token header in authenticated
    endpoints.
    To make an endpoint authenticated add the Authentication extractor to
    the endpoint.
    This will make the id of the account available to the endpoint.
    If the authentication token is invalid the request terminates with an
    error and the endpoint handler is never executed.
    mads256h committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    abc984d View commit details
    Browse the repository at this point in the history