Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jul 4, 2024
1 parent ff65a31 commit 7e15813
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
14 changes: 12 additions & 2 deletions doc/production/config.auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ config:
# using their certificates as client certificates.
ssl_port: 14453

# Numbers of seconds memcached mantains a cached item (an election)
# in the cache. By default it's 5 seconds.
cache_expiration_seconds: 5

# Password used to encrypt the authorities' public keys for usage in
# ballot-box.
keystore_pass: '<PASSWORD>'
Expand Down Expand Up @@ -1147,8 +1151,14 @@ config:
# default: true
allow_deregister: true

# Number of seconds after which an authentication token expires.
auth_token_expiration_seconds: 600
# Number of seconds after which an smartlink authentication token expires.
smartlink_token_expiration_seconds: 90

# Minimum session duration for a voter
access_auth_token_expiration_seconds: 60

# Maximum session duration for a voter (after renewing the access token)
refresh_auth_token_expiration_seconds: 600

# Number of seconds after which an authentication token expires for admin
# users
Expand Down
14 changes: 12 additions & 2 deletions doc/production/config.master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ config:
# using their certificates as client certificates.
ssl_port: 14453

# Numbers of seconds memcached mantains a cached item (an election)
# in the cache. By default it's 5 seconds.
cache_expiration_seconds: 5

# Password used to encrypt the authorities' public keys for usage in
# ballot-box.
keystore_pass: '<PASSWORD>'
Expand Down Expand Up @@ -1147,8 +1151,14 @@ config:
# default: true
allow_deregister: true

# Number of seconds after which an authentication token expires.
auth_token_expiration_seconds: 600
# Number of seconds after which an smartlink authentication token expires.
smartlink_token_expiration_seconds: 90

# Minimum session duration for a voter
access_auth_token_expiration_seconds: 60

# Maximum session duration for a voter (after renewing the access token)
refresh_auth_token_expiration_seconds: 600

# Number of seconds after which an authentication token expires for admin
# users
Expand Down

0 comments on commit 7e15813

Please sign in to comment.