First iteration of using cookies to store session/securetoken

This commit is contained in:
djpbessems
2019-01-24 17:17:53 +01:00
parent 579403c127
commit 118e45db9c
4 changed files with 20 additions and 16 deletions

View File

@ -29,16 +29,17 @@ return (object) array(
// File containing your <externalresource> token
'JWT' => [
'PrivateKey_base64' => 'result of base64_encode(<longrandomstring>)',
'PrivateKey_base64' => '',
// A base64-encoded string of a random string (see https://www.base64encode.org/)
'Algorithm' => [
'HS256',
]
],
'Cookie' => [
'Duration' => 2592000,
'Session' => [
'Duration' => 2592000,
// In seconds (2592000 is equivalent to 30 days)
# 'Prefix' => 'lucidAuth_'
# 'CookiePrefix' => 'lucidAuth_'
],
'Debug' => [