TokenForUser retrieves the authentication token and its source for a specified user and hostname.
(hostname, user string)
| 152 | |
| 153 | // TokenForUser retrieves the authentication token and its source for a specified user and hostname. |
| 154 | TokenForUser(hostname, user string) (token string, source string, err error) |
| 155 | |
| 156 | // The following methods are only for testing and that is a design smell we should consider fixing. |
| 157 |
no outgoing calls