AdamWathan\EloquentOAuth\Authenticator::updateProviderIdentity PHP Method

updateProviderIdentity() protected method

protected updateProviderIdentity ( $providerAlias, $details )
    protected function updateProviderIdentity($providerAlias, $details)
    {
        $identity = $this->identities->getByProvider($providerAlias, $details);
        $identity->access_token = $details->access_token;
        $this->identities->store($identity);
    }