darkin1/digest-auth

Digest Authentication RFC 2617 for Lumen

v0.1.3 2016-12-22 13:13 UTC

This package is not auto-updated.

Last update: 2021-12-06 00:03:51 UTC


README

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