func (i *interactor) Interact(ctx context.Context, client *httpbakery.Client, location string, ierr *httpbakery.Error) (*httpbakery.DischargeToken, error) {
	var info interactionInfo
	if err := ierr.InteractionMethod(interactionMethod, &info); err != nil {
		return nil, errgo.Mask(err, errgo.Is(httpbakery.ErrInteractionMethodNotFound))
	}
	var resp LoginResponse
	if err := i.interact(ctx, &httprequest.Client{Doer: client}, info.URL, &resp); err != nil {
		return nil, errgo.Mask(err, errgo.Any)
	}
	return resp.DischargeToken, nil
}
// Interact implements httpbakery.Interactor.Interact.
Interact implements httpbakery.Interactor.Interact.
// Interact implements httpbakery . Interactor . Interact .
func (i *interactor) Interact(ctx context.Context, client *httpbakery.Client, location string, ierr *httpbakery.Error) (*httpbakery.DischargeToken, error) {
	var info interactionInfo
	if err := ierr.InteractionMethod(interactionMethod, &info); err != nil {
		return nil, errgo.Mask(err, errgo.Is(httpbakery.ErrInteractionMethodNotFound))
	}
	var resp LoginResponse
	if err := i.interact(ctx, &httprequest.Client{Doer: client}, info.URL, &resp); err != nil {
		return nil, errgo.Mask(err, errgo.Any)
	}
	return resp.DischargeToken, nil
}
func ( i * interactor ) Interact ( ctx context . Context , client * httpbakery . Client , location string , ierr * httpbakery . Error ) ( * httpbakery . DischargeToken , error ) { var info interactionInfo if err := ierr . InteractionMethod ( interactionMethod , & info ) ; err != nil { return nil , errgo . Mask ( err , errgo . Is ( httpbakery . ErrInteractionMethodNotFound ) ) } var resp LoginResponse if err := i . interact ( ctx , & httprequest . Client { Doer : client } , info . URL , & resp ) ; err != nil { return nil , errgo . Mask ( err , errgo . Any ) } return resp . DischargeToken , nil }
Interact implements httpbakery.Interactor.Interact.
Interact implements httpbakery . Interactor . Interact .