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

Commit

Permalink
Merge branch 'docs/68'
Browse files Browse the repository at this point in the history
Close #68
Fix #67
  • Loading branch information
michalbundyra committed Sep 8, 2019
2 parents 967e245 + 483fb11 commit dd8a7ce
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/book/v1/intro.md
Expand Up @@ -81,6 +81,20 @@ The `private_key` and `public_key` values contains the paths to the previous
generated pair of keys. The `encryption_key` contains the encryption key value
as a string, as stored in the `data/oauth/encryption.key` file.

By default both key files are checked for correct permissions (chmod 400, 440,
600, 640 or 660 is expected, and 600 or 660 is recommended). In case the
environment/operating system (e.g. Windows) does not support such a permissions,
the check can be disabled:

```php
// ...
'private_key' => [
'key_or_path' => __DIR__ . '/../data/oauth/private.key',
'key_permissions_check' => false,
],
// ...
```

The `access_token_expire` value is the time-to-live (TTL) value of the access
token. The time period is represented using the [DateInterval](http://php.net/manual/en/class.dateinterval.php)
format in PHP. The default value is `P1D` (1 day).
Expand Down

0 comments on commit dd8a7ce

Please sign in to comment.