Skip to content

webtoolbox/PHPChatSSO

Repository files navigation

PHPChatSSO

Contains client files for integrating Single Sign On and Single Registration in PHP with a Website Toolbox Chat Room. The following files are included in this repo:

  • chat_room_sso_functions.php This is the main file you need. You don't need any other file in your project. You just need to give your chat room address and API Key at the top of the script. Then you can drop this file anywhere that you can access it on your site.
  • registration_example.php This file offers an example usage for user registration. You can customize this page or start from scratch.
  • login_example.php This file offers an example usage for SSO login. You can customize this page or start from scratch.
  • logout_example.php This file offers an example usage for SSO logout. You can customize this page or start from scratch.
  • userDeletion_example.php This file offers an example usage for user deletion via SSO API. You can customize this page or start from scratch.
  • edit_user_example.php This file offers an example usage for editing the details of the chat room user via SSO API. You can customize this page or start from scratch.
  • index.html This file offers a very basic user interface to make HTTP requests for login, user registration, user deletion and edit user details. You can customize this page or start from scratch.

This example uses cURL to make HTTP requests. Most servers have cURL pre-installed. If you don't have the cURL php extension installed on your server, you can install it or use a different method to make HTTP requests.

About

Contains client files for integrating Single Sign On and Single Registration in PHP with a Website Toolbox Chat Room.

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors