Adldap\Laravel\Traits\ImportsUsers::getSyncAttributes PHP Method

getSyncAttributes() protected method

Returns the configured sync attributes for filling the Laravel user model with active directory fields.
protected getSyncAttributes ( ) : array
return array
    protected function getSyncAttributes()
    {
        return config('adldap_auth.sync_attributes', ['name' => $this->getSchema()->commonName()]);
    }