Method: Ramaze::Helper::HttpDigest#httpdigest_http_authorization

Defined in:
lib/ramaze/helper/httpdigest.rb

#httpdigest_http_authorization(uid, realm) ⇒ Object



45
46
47
48
49
50
51
# File 'lib/ramaze/helper/httpdigest.rb', line 45

def httpdigest_http_authorization(uid, realm)
  http_authorization = request.env['HTTP_AUTHORIZATION']
  return http_authorization if http_authorization

  httpdigest_headers(uid, realm)
  httpdigest_failure
end