Module: HTTPX::Plugins::Auth::AuthRetries::InstanceMethods
- Defined in:
- lib/httpx/plugins/auth.rb,
sig/plugins/auth.rbs
Instance Method Summary collapse
Instance Method Details
#auth_error?(response, options) ⇒ Boolean
216 217 218 |
# File 'lib/httpx/plugins/auth.rb', line 216 def auth_error?(response, ) response.is_a?(Response) && response.status == 401 && dynamic_auth_token?(.auth_header_value) end |