nerds-and-company / apiauth
Api authentication for Craft CMS
Installs: 84
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- php: ^5.3|^7.0
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2024-11-23 20:20:29 UTC
README
Plugin to allow generation of an access token for use in api clients
Routes
/api/authenticate
You can post a username and password to the url /api/authenticate When these are valid credentials you will get an access token, This access token can be authenticated in the ApiAuthService
/api/resetPassword
You can post a username to /api/resetPassword, when a user is found a password reset mail is send. The link in the mail links to the craft web environment. When the user is not found a success message is also given.