BookStack\Services\SocialAuthService::fillSocialAccount PHP Méthode

fillSocialAccount() public méthode

public fillSocialAccount ( string $socialDriver, Laravel\Socialite\Contracts\User $socialUser ) : SocialAccount
$socialDriver string
$socialUser Laravel\Socialite\Contracts\User
Résultat BookStack\SocialAccount
    public function fillSocialAccount($socialDriver, $socialUser)
    {
        $this->socialAccount->fill(['driver' => $socialDriver, 'driver_id' => $socialUser->getId(), 'avatar' => $socialUser->getAvatar()]);
        return $this->socialAccount;
    }