Login will set user, git protocol, and auth token for the given hostname. If the encrypt option is specified it will first try to store the auth token in encrypted storage and will fall back to the general insecure configuration.
(hostname, username, token, gitProtocol string, secureStorage bool)
| 139 | // If the encrypt option is specified it will first try to store the auth token |
| 140 | // in encrypted storage and will fall back to the general insecure configuration. |
| 141 | Login(hostname, username, token, gitProtocol string, secureStorage bool) (insecureStorageUsed bool, err error) |
| 142 | |
| 143 | // SwitchUser switches the active user for a given hostname. |
| 144 | SwitchUser(hostname, user string) error |
no outgoing calls