[ad_1]
To get this product on 50 p.c contact me on this link
The User Manager PHP Application
The utility performs customers and roles administration and helps to assist Single Sign On (SSO) idea to your PHP functions with out the necessity to create consumer administration utility repeatedly for every new site. Also, you need to use the identical utility and database with totally different domains utilizing totally different configuration which will be linked to particular area
Demo Web Sites
The bundle comprises three net functions: User Roles Manager and two instance internet sites which demonstarte the best way to use it. Just drop content material of User Roles Manager folder to your Apache site, run it in broswer and use set up wizard to arrange all parameters.
- User Roles Manager Demo
- Simple Site Demo
- Advanced Site Demo
consumer: [email protected]
move: admin
Client Web Site
You have a risk to make use of the consumer handle utility like a single signal on resolution with totally different consumer web site frameworks. The following consumer web sites are supported:
- Standalone PHP pages (an instance is included)
- Codeigniter 3.1 framework pages (an instance is included)
- Laravel 5.Three framework pages (an instance is included)
Cross area authentication
1. Add area on domains administration web page
2. Add consumer which will likely be used for server to server API name
3. Create API token for that consumer
3. Include safety.php file to your challenge from UserRolesManager.Example.Client.Simple
5. Copy and paste consumer e mail and token (which you created) to safety.php
outline('APP_API_AUTHENTICATION', true); // <- true outline('APP_API_ENDPOINT', 'http://userappdomain/api'); outline('APP_API_USER', 'your api consumer'); outline('APP_API_TOKEN', 'you consumer API token');
and don’t forget to set your consumer administration app URL:
outline('APP_USER_MANAGEMENT_URL', URL_PROTOCOL.'userappdomain');
6. Add the next code on the initiateing of you web page
<?php require 'safety.php'; sign_in_required(); ?>
After that if consumer just isn’t authenticated she or he will likely be redirect to consumer supervisor login web page. After authentication course of the consumer will likely be redirected again to your web site web page.
The steps above you need to use for all your websites with out growth of authentication utility every time you want, so you’ll have customers and roles central repository.
The safety.php file comprises operate to get consumer roles, so you possibly can prohibit content material visibility by these roles.
Changelog
v1.0.1 - September 09, 2016 (Update) - Laravel consumer instance utility has been added; 1. Change .env file SESSION_DOMAIN=.localhost.com (or .yourdomain.com when you've got a site) 2. You must create a consumer. 3. Click on Edit User ->API tab click on on Generate API Token & Secret Key 4. Open /appSSO/Libraries/safety.php file 5. Copy and paste consumer e mail and token: outline('APP_API_AUTHENTICATION', true); // <- true outline('APP_API_ENDPOINT', 'http://userappdomain/api'); outline('APP_API_USER', 'consumer e mail'); outline('APP_API_TOKEN', 'token'); v1.0.1 - August 28, 2016 (replace) - Codeigniter consumer instance utility has been added; User Roles Manager App: 1. You must create a consumer. 2. Click on Edit User ->API tab click on on Generate API Token & Secret Key 3. Open utility/libraries/safety.php file 4. Copy and paste consumer e mail and token: (Do not overlook to set right API Endpoint URL) outline('APP_API_AUTHENTICATION', true); // <- true outline('APP_API_ENDPOINT', 'http://userappdomain/api'); outline('APP_API_USER', 'consumer e mail'); outline('APP_API_TOKEN', 'token'); v1.0.1 - August 15, 2016 - Twitter bootstrap & schemes replace to three.3.7 - Sub listing set up (Multiple set up in a subdirectory) - Cross area authentication easy implementation User Roles Manager App: 1. You must create a consumer. 2. Click on Edit User ->API tab click on on Generate API Token & Secret Key Advance Example: 1. Open applicationmodulesConfigurationConfig.php 2. Copy and paste consumer e mail and token: outline('APP_API_AUTHENTICATION', true); // <- true: outline('APP_API_ENDPOINT', 'http://userappdomain/api'); outline('APP_API_USER', 'consumer e mail'); outline('APP_API_TOKEN', 'token'); Simple Example: 1. Open safety.php file 2. Copy and paste consumer e mail and token: outline('APP_API_AUTHENTICATION', true); // <- true outline('APP_API_ENDPOINT', 'http://http://userappdomain/api'); outline('APP_API_USER', 'consumer e mail'); outline('APP_API_TOKEN', 'token'); v1.0.0 - August 4, 2016 - Initial launch
Installation Wizard
Protect Existing PHP pages
Just the copy/paste 5 traces of code, and it’ll shield any PHP web page.
Sub listing set up assist
You can set up the appliance to root listing and a number of subdirectories as nicely.
Bootstrap-powered
Designed with multi-purpose Bootstrap-powered HTML templates, will look the identical in all fashionable common browsers. Free bootswatch themes are included.
Fat-free
The utility relies on extraordinarily light-weight micro-framework with out utilizing heavy parts. Standard modules and capabilities have been used solely.
Multisite’s assist
Multisite’s and multi-configuration’s assist. Use the identical web site occasion to handle totally different internet sites and their customers and roles.
Author’s assist
You are welcome to the creator technical assist forums to query any query and go away your requests and concepts and desires.
[ad_2]
To get this product on 50 p.c contact me on this link