Added refresh token flow

This commit is contained in:
David Allen 2024-03-18 11:05:13 -06:00
parent 6938037a3c
commit 16ec8fc422
No known key found for this signature in database
GPG key ID: 1D2A29322FBB6FCB
4 changed files with 56 additions and 2 deletions

View file

@ -24,6 +24,7 @@ type Options struct {
CachePath string `yaml:"cache"`
CacheOnly bool `yaml:"cache-only"`
TokenForwarding bool `yaml:"token-forwarding"`
Refresh bool `yaml:"refresh"`
Verbose bool `yaml:"verbose"`
}
@ -72,6 +73,7 @@ func NewConfig() Config {
FlowType: "authorization_code",
CacheOnly: false,
TokenForwarding: false,
Refresh: true,
Verbose: false,
},
Authentication: Authentication{