Method: OmniAuth::Identity::Model#authenticate

Defined in:
lib/omniauth/identity/model.rb

#authenticate(_password) ⇒ self, false

This method is abstract.

Subclasses must implement this method.

Returns self if the provided password is correct, false otherwise.

Parameters:

  • _password (String)

    The password to check.

Returns:

  • (self, false)

    Self if authenticated, false if not.

Raises:

  • (NotImplementedError)


138
139
140
# File 'lib/omniauth/identity/model.rb', line 138

def authenticate(_password)
  raise NotImplementedError
end