PHP Classes

File: config/digest-auth.php

Recommend this page to a friend!
  Classes of Dariusz   PHP Digest Authentication   config/digest-auth.php   Download  
File: config/digest-auth.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP Digest Authentication
Implements HTTP Digest Authentication
Author: By
Last change:
Date: 4 years ago
Size: 589 bytes
 

Contents

Class file image Download
<?php

return [

   
/*
     * unique id
     */
   
'realm' => env('DIGEST_REALM'),

   
/*
     * user name/login
     *
     * only work when DIGEST_DRIVER is set to env
     */
   
'user' => env('DIGEST_USER', 'digest-user'),

   
/*
     * user password
     *
     * only work when DIGEST_DRIVER is set to env
     */
   
'password' => env('DIGEST_PASS', 'digest-password'),

   
/*
     * If you want use user from database set 'db'
     * If you want use user from .env file set 'env
     *
     * Possible variables: env, db
     */
   
'driver' => env('DIGEST_DRIVER', 'db'),
];