object
  method name : string
  method new_session : unit -> Rpc_client.auth_session
end