Method: Conreality::Client#authenticate

Defined in:
lib/conreality/client.rb

#authenticate(agent_uuid, secret = nil) ⇒ Session

Invokes the public ‘Authenticate` method on the server.

Parameters:

  • agent_uuid (String)
  • secret (String) (defaults to: nil)

Returns:



67
68
69
# File 'lib/conreality/client.rb', line 67

def authenticate(agent_uuid, secret = nil)
  Session.new(self, 1) # TODO
end