Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 806 Bytes

File metadata and controls

15 lines (11 loc) · 806 Bytes

Token Auth

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).

Screenshots

Backend Config.

Backend Config

Rest End Point & Exposing content through endpoint.

Rest End Point & Exposing content through endpoint