httpclient: allow to set custom headers

This commit is contained in:
Nicola Murino
2021-05-25 08:36:01 +02:00
parent 1223957f91
commit 600268ebb8
12 changed files with 204 additions and 47 deletions

View File

@@ -31,8 +31,8 @@ const (
)
var (
tokenDuration = 10 * time.Minute
tokenRefreshMin = 5 * time.Minute
tokenDuration = 15 * time.Minute
tokenRefreshMin = 10 * time.Minute
)
type jwtTokenClaims struct {