(secure bool)
| 91 | } |
| 92 | |
| 93 | func refreshStorageType(secure bool) string { |
| 94 | if secure { |
| 95 | return refreshStorageKeyring |
| 96 | } |
| 97 | return refreshStoragePlaintext |
| 98 | } |
| 99 | |
| 100 | // recordRefreshAttempt records the auth_token_refresh event for a refresh attempt against hostname. It records nothing |
| 101 | // when no recorder is set or when hostname is a GitHub Enterprise Server host, since enterprise usage is never |
no outgoing calls
no test coverage detected