app/services/password_checker.rb
# Checks a password, raising an exception if it is not valid
#
# @param password [String] the password to check against our records
# @return [Boolean] whether the password is valid for this user
# @raise [OAuth2Error::InvalidPassword] the password is invalid
Checks a password, raising an exception if it is not valid
Checks a password raising an exception if it is not valid
def validate_password!(password)
    return true if password_valid?(password)
    raise OAuth2Error::InvalidPassword
  end
def validate_password! ( password ) return true if password_valid? ( password ) raise OAuth2Error :: InvalidPassword end
Checks a password, raising an exception if it is not valid
Checks a password raising an exception if it is not valid
whether the password is valid for this user
whether the password is valid for this user
Boolean
[OAuth2Error::InvalidPassword] the password is invalid
[ OAuth2Error :: InvalidPassword ] the password is invalid
password
the password to check against our records
the password to check against our records