Class: Grape::Middleware::Auth::Basic

Inherits:
Base
  • Object
show all
Defined in:
lib/grape/middleware/auth/basic.rb

Instance Attribute Summary

Attributes inherited from Base

#authenticator

Attributes inherited from Base

#app, #env, #options

Instance Method Summary (collapse)

Methods inherited from Base

#before, #credentials, #initialize

Methods inherited from Base

#after, #before, #call, #call!, #content_type, #content_type_for, #content_types, #default_options, #initialize, #mime_types, #response

Constructor Details

This class inherits a constructor from Grape::Middleware::Auth::Base

Instance Method Details

- (Object) base_request



7
8
9
# File 'lib/grape/middleware/auth/basic.rb', line 7

def base_request
  Rack::Auth::Basic::Request.new(env)
end