Parent

Methods

OmniAuth::Strategies::OAuth2::CallbackError

An error that is indicated in the OAuth 2.0 callback. This could be a `redirect_uri_mismatch` or other

Attributes

error[RW]
error_reason[RW]
error_uri[RW]

Public Class Methods

new(error, error_reason = nil, error_uri = nil) click to toggle source
# File lib/omniauth/strategies/oauth2.rb, line 117
def initialize(error, error_reason = nil, error_uri = nil)
  self.error = error
  self.error_reason = error_reason
  self.error_uri = error_uri
end

Public Instance Methods

message() click to toggle source
# File lib/omniauth/strategies/oauth2.rb, line 123
def message
  [error, error_reason, error_uri].compact.join(' | ')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.