Exception: OmniAuth::DoximityOauth2::JWKSRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- OmniAuth::DoximityOauth2::JWKSRequestError
- 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
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url, response) ⇒ JWKSRequestError
constructor
A new instance of JWKSRequestError.
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
#response ⇒ Object (readonly)
Returns the value of attribute response.
8 9 10 |
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 8 def response @response end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
8 9 10 |
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 8 def url @url end |