AdamWathan\EloquentOAuth\Authenticator::getUser PHP Method

getUser() protected method

protected getUser ( $providerAlias, $details )
    protected function getUser($providerAlias, $details)
    {
        if ($this->identities->userExists($providerAlias, $details)) {
            return $this->getExistingUser($providerAlias, $details);
        }
        return $this->users->create();
    }