);
@@ -89,7 +143,15 @@ RefreshTokenRotation.propTypes = {
stripes: PropTypes.shape({
okapi: PropTypes.shape({
tenant: PropTypes.string,
- })
+ }),
+ config: PropTypes.shape({
+ rtr: PropTypes.shape({
+ idleSessionTTL: PropTypes.string,
+ idleModalTTL: PropTypes.string,
+ rotationIntervalFraction: PropTypes.number,
+ activityEvents: PropTypes.arrayOf(PropTypes.string),
+ }),
+ }),
}).isRequired,
};
diff --git a/translations/ui-developer/en.json b/translations/ui-developer/en.json
index 6323ba00..c04d63b2 100644
--- a/translations/ui-developer/en.json
+++ b/translations/ui-developer/en.json
@@ -168,8 +168,12 @@
"userLocale.numberingSystem": "Numbering system (override locale's default; details)",
"rtr": "Refresh token rotation",
- "rtr.invalidateAT": "Invalidate access token",
- "rtr.invalidateRT": "Invalidate refresh token",
+ "rtr.forceRefresh": "Force refresh",
+ "rtr.idleSessionTTL": "idleSessionTTL: duration an idle session lasts before being killed (e.g. 1h, 1m, 5s, 10ms)",
+ "rtr.idleModalTTL": "idleModalTTL: duration the idle modal should be shown before session is killed (e.g. 1h, 1m, 5s, 10ms)",
+ "rtr.fixedLengthSessionWarningTTL": "fixedLengthSessionWarningTTL: how long the “your session is going to die!” warning should be shown before the session is killed (e.g. 1h, 1m, 5s, 10ms)",
+ "rtr.rotationIntervalFraction": "rotationIntervalFraction: decimal fraction of how early to refresh the access token (e.g. 0.6 is 60% into the lifetime of the token)",
+ "rtr.activityEvents": "activityEvents: which DOM events constitute user activity (comma-separated, e.g. 'mousemove,keydown')",
"rtr.registerServiceWorker": "Register the service worker",
"rtr.unregisterServiceWorker": "Unregister the service worker",
@@ -192,5 +196,4 @@
"permission.settings.okapiConsole.modules": "Settings (developer): Can use the Okapi console's Modules tab",
"permission.settings.userLocale": "Settings (developer): Can edit locale entries for any user",
"permission.settings.okapiTimers": "Settings (developer): Can view okapi timers"
-
}