(tokType string)
| 308 | } |
| 309 | |
| 310 | func authTokenTypeName(tokType string) string { |
| 311 | switch tokType { |
| 312 | case tokenTeamAccess: |
| 313 | return "team-access" |
| 314 | case tokenTeamManage: |
| 315 | return "team-manage" |
| 316 | default: |
| 317 | return "personal" |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | func appCredentialsName(tokType string) string { |
| 322 | switch tokType { |
no outgoing calls
no test coverage detected