Class: JSONRPC2::Auth Abstract
- Inherits:
-
Object
- Object
- JSONRPC2::Auth
- Defined in:
- lib/jsonrpc2/auth.rb
Overview
This class is abstract.
Base authentication class
Direct Known Subclasses
Instance Method Summary collapse
-
#browser_check(env) ⇒ Object
Check authorisation for customers accessing API.
-
#client_check(env, rpc) ⇒ Object
Validate an API request.
-
#inspect ⇒ Object
Never show internal details of an API object.
Instance Method Details
#browser_check(env) ⇒ Object
Check authorisation for customers accessing API
13 14 15 |
# File 'lib/jsonrpc2/auth.rb', line 13 def browser_check(env) true end |
#client_check(env, rpc) ⇒ Object
Validate an API request
8 9 10 |
# File 'lib/jsonrpc2/auth.rb', line 8 def client_check(env, rpc) true end |
#inspect ⇒ Object
Never show internal details of an API object
18 19 20 |
# File 'lib/jsonrpc2/auth.rb', line 18 def inspect "#<#{self.class.name}:#{object_id.to_s(16)}>" end |