function jsonSerialize() { return ["authid" => $this->authId, "auth_method" => $this->authMethod, "auth_roles" => $this->authRoles]; }