src/Administration.php
public function logInAsUserByEmail($email) {
		$email = self::validateEmailAddress($email);

		$numberOfMatchedUsers = $this->logInAsUserByColumnValue('email', $email);

		if ($numberOfMatchedUsers === 0) {
			throw new InvalidEmailException();
		}
	}
public function logInAsUserByEmail($email) {
		$email = self::validateEmailAddress($email);

		$numberOfMatchedUsers = $this->logInAsUserByColumnValue('email', $email);

		if ($numberOfMatchedUsers === 0) {
			throw new InvalidEmailException();
		}
	}
public function logInAsUserByEmail ( $ email ) { $ email = self :: validateEmailAddress ( $ email ) ; $ numberOfMatchedUsers = $ this -> logInAsUserByColumnValue ( 'email' , $ email ) ; if ( $ numberOfMatchedUsers === 0 ) { throw new InvalidEmailException ( ) ; } }
Signs in as the user with the specified email address

@param string $email the email address of the user to sign in as
@throws InvalidEmailException if no user with the specified email address has been found
@throws EmailNotVerifiedException if the user has not verified their email address via a confirmation method yet
@throws AuthError if an internal problem occurred (do *not* catch)
Signs in as the user with the specified email address