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)
| 146 | // Logout will remove user, git protocol, and auth token for the given hostname. |
| 147 | // It will remove the auth token from the encrypted storage if it exists there. |
| 148 | Logout(hostname, username string) error |
| 149 | |
| 150 | // UsersForHost retrieves a list of users configured for a specific host. |
| 151 | UsersForHost(hostname string) []string |
no outgoing calls