@@ -1227,6 +1227,46 @@ enable_registration: {{ matrix_synapse_enable_registration|to_json }}
12271227#
12281228# session_lifetime: 24h
12291229
1230+ # Time that an access token remains valid for, if the session is
1231+ # using refresh tokens.
1232+ # For more information about refresh tokens, please see the manual.
1233+ # Note that this only applies to clients which advertise support for
1234+ # refresh tokens.
1235+ #
1236+ # Note also that this is calculated at login time and refresh time:
1237+ # changes are not applied to existing sessions until they are refreshed.
1238+ #
1239+ # By default, this is 5 minutes.
1240+ #
1241+ # refreshable_access_token_lifetime: 5m
1242+
1243+ # Time that a refresh token remains valid for (provided that it is not
1244+ # exchanged for another one first).
1245+ # This option can be used to automatically log-out inactive sessions.
1246+ # Please see the manual for more information.
1247+ #
1248+ # Note also that this is calculated at login time and refresh time:
1249+ # changes are not applied to existing sessions until they are refreshed.
1250+ #
1251+ # By default, this is infinite.
1252+ #
1253+ # refresh_token_lifetime: 24h
1254+
1255+ # Time that an access token remains valid for, if the session is NOT
1256+ # using refresh tokens.
1257+ # Please note that not all clients support refresh tokens, so setting
1258+ # this to a short value may be inconvenient for some users who will
1259+ # then be logged out frequently.
1260+ #
1261+ # Note also that this is calculated at login time: changes are not applied
1262+ # retrospectively to existing sessions for users that have already logged in.
1263+ #
1264+ # By default, this is infinite.
1265+ #
1266+ # nonrefreshable_access_token_lifetime: 24h
1267+
1268+ # The user must provide all of the below types of 3PID when registering.
1269+
12301270# The user must provide all of the below types of 3PID when registering.
12311271#
12321272# registrations_require_3pid:
0 commit comments