Exception: OmniAuth::DoximityOauth2::JWTVerificationError
- Inherits:
-
StandardError
- Object
- StandardError
- OmniAuth::DoximityOauth2::JWTVerificationError
- Defined in:
- lib/omniauth-doximity-oauth2/errors.rb
Overview
Error for failed JWK verifications
Constant Summary collapse
- MESSAGE =
"Failed to verify user info JWT"
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(error, token) ⇒ JWTVerificationError
constructor
A new instance of JWTVerificationError.
Constructor Details
#initialize(error, token) ⇒ JWTVerificationError
Returns a new instance of JWTVerificationError.
22 23 24 25 |
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 22 def initialize(error, token) @token = token super(error.) end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
20 21 22 |
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 20 def error @error end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
20 21 22 |
# File 'lib/omniauth-doximity-oauth2/errors.rb', line 20 def token @token end |