Module: AWS::AuthorizeWithSessionToken

Defined in:
lib/aws/authorize_with_session_token.rb

Instance Method Summary collapse

Instance Method Details

#add_authorization!(signer) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/aws/authorize_with_session_token.rb', line 18

def add_authorization! signer
  if signer.respond_to?(:session_token) and
      token = signer.session_token
    add_param("SecurityToken", token)
  end

  super
end