(secure bool)
| 116 | } |
| 117 | |
| 118 | func refreshStorageType(secure bool) string { |
| 119 | if secure { |
| 120 | return refreshStorageKeyring |
| 121 | } |
| 122 | return refreshStoragePlaintext |
| 123 | } |
| 124 | |
| 125 | // recordRefreshAttempt records the auth_token_refresh event for a refresh attempt against hostname. It records nothing |
| 126 | // 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