Module Grape::Middleware::Auth::DSL::ClassMethods
In: lib/grape/middleware/auth/dsl.rb

Methods

Public Instance methods

Add an authentication type to the API. Currently only `:http_basic`, `:http_digest` are supported.

Add HTTP Basic authorization to the API.

@param [Hash] options A hash of options. @option options [String] :realm "API Authorization" The HTTP Basic realm.

[Validate]