RosClient.authenticate

RosClient.authenticate(mac, client, dest, rand, t, level, end)[source]

Sends an authorization request to the server.

Note:

Sends authentication on connection.

Args:

mac (str): MAC (hash) string given by the trusted source. client (str): IP of the client. dest (str): IP of the destination. rand (str): Random string given by the trusted source. t (float): Time of the authorization request. level (str): User level as a string given by the client. end (float): End time of the client’s session.