Method: CoreLibrary::AuthGroup#apply

Defined in:
lib/apimatic-core/authentication/multiple/auth_group.rb

#apply(http_request) ⇒ Object

Applies the associated auth to the HTTP request.

Parameters:

  • http_request (HttpRequest)

    The HTTP request on which the auth is to be applied.



41
42
43
44
45
# File 'lib/apimatic-core/authentication/multiple/auth_group.rb', line 41

def apply(http_request)
  return unless @is_valid_group

  @mapped_group.each { |participant| participant.apply(http_request) }
end