auth token过期时间7天
This commit is contained in:
parent
21ccedab9c
commit
9fe8df3c1b
|
@ -101,12 +101,12 @@ Doorkeeper.configure do
|
||||||
|
|
||||||
# Authorization Code expiration time (default: 10 minutes).
|
# Authorization Code expiration time (default: 10 minutes).
|
||||||
#
|
#
|
||||||
# authorization_code_expires_in 10.minutes
|
authorization_code_expires_in 7.days
|
||||||
|
|
||||||
# Access token expiration time (default: 2 hours).
|
# Access token expiration time (default: 2 hours).
|
||||||
# If you want to disable expiration, set this to `nil`.
|
# If you want to disable expiration, set this to `nil`.
|
||||||
#
|
#
|
||||||
# access_token_expires_in 2.hours
|
access_token_expires_in 7.days
|
||||||
|
|
||||||
# Assign custom TTL for access tokens. Will be used instead of access_token_expires_in
|
# Assign custom TTL for access tokens. Will be used instead of access_token_expires_in
|
||||||
# option if defined. In case the block returns `nil` value Doorkeeper fallbacks to
|
# option if defined. In case the block returns `nil` value Doorkeeper fallbacks to
|
||||||
|
|
Loading…
Reference in New Issue