Метод |
Описание |
|
bindAdldapToModel ( User $user, Model $model ) : Model |
Binds the Adldap User instance to the Eloquent model instance
by setting its adldapUser public property. |
|
findOrCreateModelFromAdldap ( User $user ) : Model |
Finds an Eloquent model from the specified Adldap user. |
|
getBindUserToModel ( ) : boolean |
Returns the configured bind user to model option for binding
the Adldap user model instance to the laravel model. |
|
getModelFromAdldap ( User $user, string | null $password = null ) : Model |
Returns an existing or new Eloquent user from the specified Adldap user instance. |
|
getOnlyAllowImportedUsers ( ) : mixed |
Returns the configured option for only allowing
manually imported users to authenticate. |
|
getPasswordSync ( ) : boolean |
Returns the configured password sync configuration option. |
|
getSyncAttributes ( ) : array |
Returns the configured sync attributes for filling the
Laravel user model with active directory fields. |
|
handleAttributeCallback ( User $user, string $callback ) : mixed |
Handles retrieving the value from an attribute callback. |
|
handleAttributeRetrieval ( User $user, string $field ) : string | null |
Handles retrieving the specified field from the User model. |
|
isAttributeCallback ( string $string ) : boolean |
Returns true / false if the specified string
is a callback for an attribute handler. |
|
newEloquentQuery ( string $key, string $username ) : Builder |
Returns a new Eloquent user query. |
|
syncModelFromAdldap ( User $user, Model $model ) : Model |
Fills a models attributes by the specified Users attributes. |
|
syncModelPassword ( Model $model, string $password ) : Model |
Syncs the models password with the specified password. |
|