LogoutWithCredential reloads the selected user's credential under the refresh mutex and attempts the advisory lock on a best-effort basis, passing any lock error to beforeLogout. The supplied save function persists a replacement refreshable credential in the same storage under the refresh mutex, eve
(hostname, username string, beforeLogout func(Credential, error, func(RefreshableCredential) error) error)
| 303 | // Local authentication is removed only if lookup and the callback succeed. The callback must not |
| 304 | // call other authentication operations that acquire the refresh lock. |
| 305 | LogoutWithCredential(hostname, username string, beforeLogout func(Credential, error, func(RefreshableCredential) error) error) error |
| 306 | |
| 307 | // UsersForHost retrieves a list of users configured for a specific host. |
| 308 | UsersForHost(hostname string) []string |
no outgoing calls