darkin1 / digest-auth
Digest Authentication RFC 2617 for Lumen
Installs: 6 260
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 1
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2024-11-18 13:54:27 UTC
README
Digest Authentication RFC 2617 for Lumen 5.x
Installation
Installation using composer:
composer require darkin1/digest-auth
And add the service provider in config/app.php
:
Darkin1\DigestAuth\DigestAuthServiceProvider::class,
Configuration
Change your default settings in app/config/digest-auth.php
:
<?php return [ 'realm' => env('DIGEST_REALM', '****'), 'user' => env('DIGEST_USER', '****'), 'password' => env('DIGEST_PASS', '****'), 'driver' => env('DIGEST_DRIVER', 'env'), ];