This is a simple module for understanding authentication providers in drupal.
This module will do the following things.
- Add a token filed to user entity which automatically generated.
- Add a token_auth authentication provider which we can apply to routes using module.routing.yml and the REST resource using backend interface.
- Define a REST Resource for exposing a node by node id (for testing the token_auth authentication provider).