feat: Add no_refresh option to Git auth configs (#5097)

This allows organizations to disable refreshing Git tokens
and instead prompt for authentication again.
This commit is contained in:
Kyle Carberry
2022-11-15 15:06:13 -06:00
committed by GitHub
parent 2a46702fc5
commit fc0a493b72
5 changed files with 86 additions and 0 deletions

View File

@ -125,6 +125,7 @@ type GitAuthConfig struct {
AuthURL string `json:"auth_url"`
TokenURL string `json:"token_url"`
Regex string `json:"regex"`
NoRefresh bool `json:"no_refresh"`
Scopes []string `json:"scopes"`
}