IP Consumer Auth
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Drupal 8 custom Authentication Provider using an IP Consumer White List.
This idea is to enable anonymous user access to Drupal 8 REST Resources using IP addresses as the validation method.
This module enables a UI to add a white list of IP consumers.
The module was generated using Drupal Console.
Usage:
Using the contrib module REST UI (I recommend using the git version, until its first Drupal 8 release), you can enable REST Resources using the Authentication Provider ip_consumer_auth.
Remember to enable the specific permissions for the REST Resource to anonymous user, as you can see in the following image:

If you are interested in creating your own Drupal 8 Authentication Provider, you can read the blog entry How to create an Authentication Provider in Drupal 8.
If you are interested in contributing, please create a PR in GitHub https://github.com/enzolutions/ip_consumer_auth
