Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit f371ada

Browse files
committed
Update sample config
1 parent a8325ef commit f371ada

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/sample_config.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,35 @@ oembed:
12091209
#
12101210
#session_lifetime: 24h
12111211

1212+
# Time that an access token remains valid for, if the session is
1213+
# using refresh tokens.
1214+
# For more information about refresh tokens, please see the manual.
1215+
# Note that this only applies to clients which advertise support for
1216+
# refresh tokens.
1217+
#
1218+
# By default, this is 5 minutes.
1219+
#
1220+
#refreshable_access_token_lifetime: 5m
1221+
1222+
# Time that a refresh token remains valid for (provided that it is not
1223+
# exchanged for another one first).
1224+
# This option can be used to automatically log-out inactive sessions.
1225+
# Please see the manual for more information.
1226+
#
1227+
# By default, this is infinite.
1228+
#
1229+
#refresh_token_lifetime: 24h
1230+
1231+
# Time that an access token remains valid for, if the session is NOT
1232+
# using refresh tokens.
1233+
# Please note that not all clients support refresh tokens, so setting
1234+
# this to a short value may be inconvenient for some users who will
1235+
# then be logged out frequently.
1236+
#
1237+
# By default, this is infinite.
1238+
#
1239+
#nonrefreshable_access_token_lifetime: 24h
1240+
12121241
# The user must provide all of the below types of 3PID when registering.
12131242
#
12141243
#registrations_require_3pid:

0 commit comments

Comments
 (0)