darkin1 / digest-auth by darkin1

Digest Authentication RFC 2617 for Lumen
6,258
2
2
Package Data
Maintainer Username: darkin1
Maintainer Contact: dciesielski87@gmail.com (Dariusz Ciesielski)
Package Create Date: 2016-10-28
Package Last Update: 2016-12-22
Language: PHP
License: MIT
Last Refreshed: 2024-11-15 15:15:43
Package Statistics
Total Downloads: 6,258
Monthly Downloads: 23
Daily Downloads: 1
Total Stars: 2
Total Watchers: 2
Total Forks: 3
Total Open Issues: 1

Digest Authentication

Latest Stable Version Donate Tests

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'),
];

Documentation

Digest Authentication RCF

php.net example