Finish authentication
This commit is contained in:
@@ -3,9 +3,11 @@ app:
|
||||
# header-string: "Authorization" # The key of head to get token
|
||||
# token-prefix: "Bearer " # Token prefix
|
||||
# jwt-ttl: 2 # The life of token
|
||||
# jwt-ttl-unit: hours # Unit of life of token
|
||||
# jwt-ttl-unit: hours # Unit of life of token [nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days]
|
||||
jwt-key: $uuid$ # Key to generate token (Only numbers and letters allow)
|
||||
# jwt-issuer: FatWeb # Token issuer
|
||||
# redis-ttl: 20 # The life of token in redis
|
||||
# redis-ttl-unit: minutes # Unit of life of token in redis [nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days]
|
||||
|
||||
server:
|
||||
# port: 8080 # Server port
|
||||
|
||||
Reference in New Issue
Block a user