lib/oauthenticator/rack_authenticator.rb in oauthenticator-1.4.0 vs lib/oauthenticator/rack_authenticator.rb in oauthenticator-1.4.1

- old
+ new

@@ -7,10 +7,10 @@ # # If the request is not authentically signed, then the middleware responds with 401 Unauthorized, with the # body a JSON object indicating errors encountered authenticating the request. The error object is # structured like rails / ActiveResource: # - # {'errors': {'attribute1': ['messageA', 'messageB'], 'attribute2': ['messageC']}} + # {'errors' => {'attribute1' => ['messageA', 'messageB'], 'attribute2' => ['messageC']}} class RackAuthenticator # options: # # - `:bypass` - a proc which will be called with a Rack::Request, which must have a boolean result. # if the result is true, authentication checking is bypassed. if false, the request is authenticated