File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ func (c *KeyFlow) GetToken() TokenResponseBody {
118118 return * c .token
119119}
120120
121- // GetCredentialsTokenEndpoint returns the token endpoint from credentials or a default fallback
122- func (cfg * KeyFlowConfig ) GetCredentialsTokenEndpoint () string {
121+ // getCredentialsTokenEndpoint returns the token endpoint from credentials or a default fallback
122+ func (cfg * KeyFlowConfig ) getCredentialsTokenEndpoint () string {
123123 if cfg .ServiceAccountKey == nil || cfg .ServiceAccountKey .Credentials == nil {
124124 return tokenAPI
125125 }
@@ -137,7 +137,7 @@ func (c *KeyFlow) Init(cfg *KeyFlowConfig) error {
137137 c .config = cfg
138138
139139 if c .config .TokenUrl == "" {
140- c .config .TokenUrl = c .config .GetCredentialsTokenEndpoint ()
140+ c .config .TokenUrl = c .config .getCredentialsTokenEndpoint ()
141141 }
142142
143143 c .tokenExpirationLeeway = defaultTokenExpirationLeeway
You can’t perform that action at this time.
0 commit comments