class Challah::Authenticators::ApiKey

Public Class Methods

match?(user, provider, api_key) click to toggle source
# File lib/challah/authenticators/api_key.rb, line 4
def self.match?(user, provider, api_key)
  user.api_key ==  api_key.to_s.strip
end