Exception: OmniAuth::DoximityOauth2::JWKSRequestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/omniauth-doximity-oauth2/errors.rb

Overview

Error for failed request to get public keys, for JWK verification

Constant Summary collapse

MESSAGE =
"Failed to request public keys for user info verification"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, response) ⇒ JWKSRequestError

Returns a new instance of JWKSRequestError.



10
11
12
13
14
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 10

def initialize(url, response)
  @url = url
  @response = response
  super(MESSAGE)
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



8
9
10
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 8

def response
  @response
end

#urlObject (readonly)

Returns the value of attribute url.



8
9
10
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 8

def url
  @url
end