Class: Nanite::DefaultSecurityModule

Inherits:
Object
  • Object
show all
Defined in:
lib/nanite/security_provider.rb

Overview

Default security module

Instance Method Summary collapse

Instance Method Details

#authorize_registration(registration) ⇒ Object

Authorize registration of agent (registration is an instance of Register)



37
38
39
# File 'lib/nanite/security_provider.rb', line 37

def authorize_registration(registration)
  true
end

#authorize_request(request) ⇒ Object

Authorize given inter-agent request (request is an instance of Request)



42
43
44
# File 'lib/nanite/security_provider.rb', line 42

def authorize_request(request)
  true
end