{% extends 'scenario-basic.html' %} {% block title-text %} Tiredful API: Scenarios {% endblock %} {% block content %}

Token Manager

Module for issuing authorisation token for user.


Some scenarios of the application requires user authentication.
Following are the users registered with the application
  1. Username: batman
    Password: Batman@123
  2. Username: superman
    Password: Superman@123
For sending authorized request use HTTP header authorization as follows:
Authorization : Bearer < token_received >

Get User Token

{{ login_form.as_p }}

Revoke User Token

{{ logout_form.as_p }}


{% endblock %} {% block page-level-js %} {% endblock %}