Exception: OmniAuth::Strategies::OpenIDConnect::CallbackError
- Inherits:
-
StandardError
- Object
- StandardError
- OmniAuth::Strategies::OpenIDConnect::CallbackError
- Defined in:
- lib/omniauth/strategies/openid_connect.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_reason ⇒ Object
Returns the value of attribute error_reason.
-
#error_uri ⇒ Object
Returns the value of attribute error_uri.
Instance Method Summary collapse
-
#initialize(data) ⇒ CallbackError
constructor
A new instance of CallbackError.
- #message ⇒ Object
Constructor Details
#initialize(data) ⇒ CallbackError
Returns a new instance of CallbackError.
428 429 430 431 432 433 |
# File 'lib/omniauth/strategies/openid_connect.rb', line 428 def initialize(data) super self.error = data[:error] self.error_reason = data[:reason] self.error_uri = data[:uri] end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
426 427 428 |
# File 'lib/omniauth/strategies/openid_connect.rb', line 426 def error @error end |
#error_reason ⇒ Object
Returns the value of attribute error_reason.
426 427 428 |
# File 'lib/omniauth/strategies/openid_connect.rb', line 426 def error_reason @error_reason end |
#error_uri ⇒ Object
Returns the value of attribute error_uri.
426 427 428 |
# File 'lib/omniauth/strategies/openid_connect.rb', line 426 def error_uri @error_uri end |
Instance Method Details
#message ⇒ Object
435 436 437 |
# File 'lib/omniauth/strategies/openid_connect.rb', line 435 def [error, error_reason, error_uri].compact.join(' | ') end |