src/Ipunkt/SocialAuth/Repositories/EloquentUserRepository.php
public function findByAuth($provider, $identifier) {
        $user = null;

        $login = $this->repository->findByAuth($provider, $identifier);

        if($login !== null)
            $user = $login->getUser();

        return $user;
    }
public function findByAuth($provider, $identifier) {
        $user = null;

        $login = $this->repository->findByAuth($provider, $identifier);

        if($login !== null)
            $user = $login->getUser();

        return $user;
    }
public function findByAuth ( $ provider , $ identifier ) { $ user = null ; $ login = $ this -> repository -> findByAuth ( $ provider , $ identifier ) ; if ( $ login !== null ) $ user = $ login -> getUser ( ) ; return $ user ; }
Attempt to find a UserInterface by given login credentials
returns the UserInterface or null on error

@param array $credentials
@return null|User
Attempt to find a UserInterface by given login credentials returns the UserInterface or null on error