lib/apipie_bindings/authenticators/base.rb in apipie-bindings-0.4.0 vs lib/apipie_bindings/authenticators/base.rb in apipie-bindings-0.5.0

- old
+ new

@@ -1,7 +1,14 @@ module ApipieBindings module Authenticators class Base + # 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 + attr_reader :auth_cookie + def authenticate(request, args) end def error(ex) end