seregazhuk\PinterestBot\Api\Providers\Auth::checkCredentials PHP Method

checkCredentials() protected method

Validates password and login.
protected checkCredentials ( string $username, string $password )
$username string
$password string
    protected function checkCredentials($username, $password)
    {
        if (!$username || !$password) {
            throw new \LogicException('You must set username and password to login.');
        }
    }