code: func (context *APIContext) Authentication(request *restful.Request) (interface{}, error) {
  	//FIXME: implement this properly
  
  	t := request.QueryParameter("accesstoken")
  	if len(t) == 0 {
  		t = request.HeaderParameter("authorization")
  		if strings.Index(t, " ") > 0 {
  			t = strings.TrimSpace(strings.Split(t, " ")[1])
  		}
  	}
  
  	return nil, nil // context.GetUserByAccessToken(t)
  }
docs: // Authentication parses the request for an access-/authtoken and returns the matching user