Download the PHP package middlebury/dynamic-add-users without Composer

On this page you can find all versions of the php package middlebury/dynamic-add-users. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dynamic-add-users

Dynamic Add Users

Dynamic Add Users is a WordPress plugin that replaces the native 'Add User' screen with a dynamic directory search.

This plugin also allows searching for groups in a directory and bulk-adding group members to a site as well as synchronizing site-roles based on group-membership. It provides several services that other plugins can use to look up users and groups and apply roles to users.

Components

Dynamic Add Users has several components that work together to provide its functionality:

The Directory Service

The Dynamic Add Users Directory service provides an API for searching for users by name/email in some underlying data source. The resulting user-information can be utilized by other components to dynamically provision accounts into WordPress without the user having to already have logged in.

Each Directory service implementation provides API methods defined in DirectoryInterface.php:

Implementations

The Login-Hook

The Dynamic Add Users Login-Hook providers evaluate user/login attributes at login time to map the user identifiers present in the login response to user identifiers known to the directory service. This component allows hooking into authentication plugin's own login actions that may provide access to additional attributes that are not present in the native WordPress wp_login action.

Each Login-Hook implementation will register itself with an appropriate login action and if possible, return a user-id that is known to the currently configured Directory service.

Implementations

Configuration

By default, Dynamic Add Users uses place-holder Null Directory and Login-Hook implementations. The implementations in-use and implementation-specific configuration can be set under Network Admin → Settings → Dynamic Add Users.

Also included with the Network Admin settings is a Test screen that allows validation of the current configuration and its operation.

APIs

Dynamic Add Users provides several services, actions, and filters that other plugins can use to work with it or extend its abilities.

Using Services

The singleton DynamicAddUsersPlugin provides access to all services of the plugin and can be accessed via the dynamic_add_users() function. The configured service implementations can then be accessed via the methods detailed in DynamicAddUsersPluginInterface.php: getDirectory(), getLoginHook(), getUserManager(), and getGroupSyncer().

Example:

Actions and Filters

dynamic_add_users__update_user_on_create

Make changes to a newly created user accounts. This is useful if new accounts need to be updated in some way.

Example:

dynamic_add_users__update_user_on_login

Set/unset roles and capabilities for the user based on groups. This is useful for setting group-based capabilities at login time.

Example:

dynamic_add_users__filter_user_matches

Filter directory results when searching for users. This can be useful to allow removal of service accounts or old/inactivated accounts from the results presented to site-administrators while searching.

Example:

dynamic_add_users__filter_group_matches

Filter groups out of the results provided by the underlying Directory service. This may be useful if certain groups should not be exposed to site administrators.

Example:

Adding Service implementations

Plugins may provide additional implementations of the Directory service by implementing the \DynamicAddUsers\Directory\DirectoryInterface in a class and ensuring that the class is loaded at runtime before DynamicAddUsers executes.

Plugins may provide additional Login-Hook implementations by implementing the \DynamicAddUsers\LoginHook\LoginHookInterface in a class and ensuring that the class is loaded at runtime before DynamicAddUsers executes.


All versions of dynamic-add-users with dependencies

PHP Build Version
Package Version
Requires microsoft/microsoft-graph Version ^1.45
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package middlebury/dynamic-add-users contains the following files

Loading the files please wait ....