2016-08-18

Forums
Documents
FAQ
Demo Web Sites
The package contains three web applications: User Roles Manager and two example web sites which demonstarte how to use it. Just drop content of User Roles Manager folder to your Apache web site, run it in broswer and use installation wizard to set up all parameters.

User Roles Manager Demo

Simple Site Demo

Advanced Site Demo

user: admin@demo.com

pass: admin

Cross domain authentication

1. Add domain on domains management page

2. Add user which will be used for server to server API call

3. Create API token for that user

3. Include security.php file to your project from UserRolesManager.Example.Client.Simple

5. Copy and paste user email and token (which you created) to security.php

6. Add the following code at the begining of you page

After that if user is not authenticated he or she will be redirect to user manager login page. After authentication process the user will be redirected back to your site page.

The steps above you can use for all of your sites without development of authentication application each time you need, so you will have users and roles central repository.

The security.php file contains function to get user roles, so you can restrict content visibility by those roles.

Changelog

Show more