Skip to content
Contains client files for integrating Single Sign On and Single Registration in PHP with a Website Toolbox Chat Room.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
chat_room_sso_functions.php
edit_user_example.php
index.html
login_example.php
logout_example.php
registration_example.php
userDeletion_example.php

README.md

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.

You can’t perform that action at this time.