class RHC::Rest::WWWAuth

Support three altered authentication behaviors

Attributes

oauth2[R]

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/rhc/rest/httpclient.rb, line 47
def initialize
  super
  @oauth2 = OAuth2.new
  @authenticator.unshift(@oauth2)

  deferred = DeferredBasic.new
  @authenticator.map!{ |o| o == @basic_auth ? deferred : o }
  @basic_auth = deferred
end