From cdb8ed4d3815bda2b54e54c2320508b98f14a9ca 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 in documentation Show the use of token properties in authorization server clients configuration example See gh-45019 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 117752ee09d..8be3adea10c 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"