Logout will remove user, git protocol, and auth token for the given hostname. It will remove the auth token from the encrypted storage if it exists there.
(hostname, username string)
| 295 | // Logout will remove user, git protocol, and auth token for the given hostname. |
| 296 | // It will remove the auth token from the encrypted storage if it exists there. |
| 297 | Logout(hostname, username string) error |
| 298 | |
| 299 | // LogoutWithCredential reloads the selected user's credential under the refresh mutex and attempts |
| 300 | // the advisory lock on a best-effort basis, passing any lock error to beforeLogout. The supplied save |
no outgoing calls