code: func (a *ACL) Login(auth *ACLLoginParams, q *WriteOptions) (*ACLToken, *WriteMeta, error) {
  	r := a.c.newRequest("POST", "/v1/acl/login")
  	r.setWriteOptions(q)
  	r.obj = auth
  
  	rtt, resp, err := requireOK(a.c.doRequest(r))
  	if err != nil {
  		return nil, nil, err
  	}
  	defer resp.Body.Close()
  
  	wm := &WriteMeta{RequestTime: rtt}
  	var out ACLToken
  	if err := decodeBody(resp, &out); err != nil {
  		return nil, nil, err
  	}
  	return &out, wm, nil
  }
docs: // Login is used to exchange auth method credentials for a newly-minted Consul Token.