// AuthExternal returns an Auth that authenticates as the given user with the // EXTERNAL mechanism. func AuthExternal(user string) Auth { … } type authExternal … func (a authExternal) FirstData() ([]byte, []byte, AuthStatus) { … } func (a authExternal) HandleData(b []byte) ([]byte, AuthStatus) { … }