TokenForUser retrieves the authentication token and its source for a specified user and hostname.
(hostname, user string)
| 198 | |
| 199 | // TokenForUser retrieves the authentication token and its source for a specified user and hostname. |
| 200 | TokenForUser(hostname, user string) (token string, source string, err error) |
| 201 | |
| 202 | // The following methods are only for testing and that is a design smell we should consider fixing. |
| 203 |
no outgoing calls