Skip to content

Commit cdb8ed4

Browse files
ngocnhan-tran1996philwebb
authored andcommitted
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 <[email protected]>
1 parent ca5507e commit cdb8ed4

File tree

1 file changed

+6
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web

1 file changed

+6
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc

+6
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@ spring:
303303
- "phone"
304304
- "address"
305305
require-authorization-consent: true
306+
token:
307+
authorization-code-time-to-live: 5m
308+
access-token-time-to-live: 10m
309+
access-token-format: "reference"
310+
reuse-refresh-tokens: false
311+
refresh-token-time-to-live: 30m
306312
my-client-2:
307313
registration:
308314
client-id: "efgh"

0 commit comments

Comments
 (0)