feat: add possibility to set an expiration to a session (#6851)

* add lifetime to session api

* extend session with lifetime

* check session token expiration

* fix typo

* integration test to check session token expiration

* integration test to check session token expiration

* i18n

* cleanup

* improve tests

* prevent negative lifetime

* fix error message

* fix lifetime check
This commit is contained in:
Livio Spring
2023-11-06 11:48:28 +02:00
committed by GitHub
parent ce322323aa
commit f3b8a3aece
35 changed files with 608 additions and 151 deletions

View File

@@ -480,6 +480,8 @@ Errors:
Session:
NotExisting: セッションが存在しない
Terminated: セッションはすでに終了しています
Expired: セッションの有効期限が切れました
PositiveLifetime: セッションの有効期間は 0 未満であってはなりません
Token:
Invalid: セッショントークンが無効です
WebAuthN: