Class: ApipieBindings::Authenticators::Base
- Inherits:
-
Object
- Object
- ApipieBindings::Authenticators::Base
show all
- Defined in:
- lib/apipie_bindings/authenticators/base.rb
Instance Attribute Summary collapse
-
#auth_cookie ⇒ Object
readonly
In case an authenticator needs to make an authentication call before the original one you might want to set auth_cookie returned by the server to be available for futher processing (e.g. saving the session id) since it may contain session id to use with all the next calls.
Instance Method Summary
collapse
Instance Attribute Details
#auth_cookie ⇒ Object
In case an authenticator needs to make an authentication call before the original one you might want to set auth_cookie returned by the server to be available for futher processing (e.g. saving the session id) since it may contain session id to use with all the next calls
9
10
11
|
# File 'lib/apipie_bindings/authenticators/base.rb', line 9
def auth_cookie
@auth_cookie
end
|
Instance Method Details
#authenticate(request, args) ⇒ Object
11
12
|
# File 'lib/apipie_bindings/authenticators/base.rb', line 11
def authenticate(request, args)
end
|
#error(ex) ⇒ Object
14
15
|
# File 'lib/apipie_bindings/authenticators/base.rb', line 14
def error(ex)
end
|
#name ⇒ Object
20
21
22
|
# File 'lib/apipie_bindings/authenticators/base.rb', line 20
def name
self.class.name
end
|
#response(r) ⇒ Object
17
18
|
# File 'lib/apipie_bindings/authenticators/base.rb', line 17
def response(r)
end
|