object method name : string method new_session : Rpc_client.t -> string option -> Rpc_client.auth_protocol end