| 1 |
<?php |
| 2 |
|
| 3 |
return [ |
| 4 |
|
| 5 |
/* |
| 6 |
|-------------------------------------------------------------------------- |
| 7 |
| Authentication type |
| 8 |
|-------------------------------------------------------------------------- |
| 9 |
| |
| 10 |
| Intervention HttpAuth supports "basic" and "digest" authentication |
| 11 |
| implementations. "Basic" is the simplest technique, while "Digest" applies |
| 12 |
| hash functions to the password before sending it over the network. |
| 13 |
| |
| 14 |
| Supported: "basic", "digest" |
| 15 |
| |
| 16 |
*/ |
| 17 |
'type' => 'basic', |
| 18 |
|
| 19 |
/* |
| 20 |
|-------------------------------------------------------------------------- |
| 21 |
| Authentication name |
| 22 |
|-------------------------------------------------------------------------- |
| 23 |
| |
| 24 |
| Name of secured resource. Clients must authentificate to each named realm. |
| 25 |
| |
| 26 |
*/ |
| 27 |
'realm' => 'Secured', |
| 28 |
|
| 29 |
/* |
| 30 |
|-------------------------------------------------------------------------- |
| 31 |
| Authentication username |
| 32 |
|-------------------------------------------------------------------------- |
| 33 |
| |
| 34 |
| Username to access the secured realm in combination with a password. |
| 35 |
| |
| 36 |
*/ |
| 37 |
'username' => 'admin', |
| 38 |
|
| 39 |
/* |
| 40 |
|-------------------------------------------------------------------------- |
| 41 |
| Password |
| 42 |
|-------------------------------------------------------------------------- |
| 43 |
| |
| 44 |
| Password to access the secured realm in combination with the username. |
| 45 |
| |
| 46 |
*/ |
| 47 |
'password' => '1234' |
| 48 |
|
| 49 |
]; |
| 50 |
|