Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit f538433

Browse files
committed
Merge branch 'docs/68' into develop
Forward port #68
2 parents ff44b98 + 483fb11 commit f538433

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/book/v1/intro.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,20 @@ The `private_key` and `public_key` values contains the paths to the previous
8181
generated pair of keys. The `encryption_key` contains the encryption key value
8282
as a string, as stored in the `data/oauth/encryption.key` file.
8383

84+
By default both key files are checked for correct permissions (chmod 400, 440,
85+
600, 640 or 660 is expected, and 600 or 660 is recommended). In case the
86+
environment/operating system (e.g. Windows) does not support such a permissions,
87+
the check can be disabled:
88+
89+
```php
90+
// ...
91+
'private_key' => [
92+
'key_or_path' => __DIR__ . '/../data/oauth/private.key',
93+
'key_permissions_check' => false,
94+
],
95+
// ...
96+
```
97+
8498
The `access_token_expire` value is the time-to-live (TTL) value of the access
8599
token. The time period is represented using the [DateInterval](http://php.net/manual/en/class.dateinterval.php)
86100
format in PHP. The default value is `P1D` (1 day).

0 commit comments

Comments
 (0)