From 669266e8576dd52d08bb92dddeb3149eda727fb1 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Mon, 7 Apr 2025 17:08:21 +0700 Subject: [PATCH] Add the use of token properties Signed-off-by: Tran Ngoc Nhan --- .../antora/modules/reference/pages/web/spring-security.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc index 117752ee09dd..8be3adea10c8 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc @@ -303,6 +303,12 @@ spring: - "phone" - "address" require-authorization-consent: true + token: + authorization-code-time-to-live: 5m + access-token-time-to-live: 10m + access-token-format: "reference" + reuse-refresh-tokens: false + refresh-token-time-to-live: 30m my-client-2: registration: client-id: "efgh"