(tokType string)
| 300 | } |
| 301 | |
| 302 | func authTokenDetails(tokType string) map[string]any { |
| 303 | return map[string]any{ |
| 304 | "token_type": authTokenTypeName(tokType), |
| 305 | "login_command": loginCommand(tokType), |
| 306 | "env_var": envAccessToken, |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | func authTokenTypeName(tokType string) string { |
| 311 | switch tokType { |
no test coverage detected