Download the PHP package wwpass/apiclient without Composer
On this page you can find all versions of the php package wwpass/apiclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wwpass/apiclient
More information about wwpass/apiclient
Files in wwpass/apiclient
Package apiclient
Short Description A PHP implementation of the WWPass API
License Apache-2.0
Homepage https://wwpass.com/
Informations about the package apiclient
WWPass PHP SDK and API Client Documentation
Version 4.0.2 This repository provides the combined WWPass PHP SDK and Composer-compliant API client library, enabling multifactor authentication for websites and applications. It includes documentation, server library, a standalone script (wwpass.php), and demo examples for easy integration.
Overview
WWPass is a third-party authentication provider that offers reliable, secure, and convenient multi-factor authentication for websites, as well as mobile and desktop applications. It uses QR-code-based authentication, where users scan a code with the WWPass Key App to log in. Each user is assigned a unique identifier by WWPass, called a PUID (Provider-Specific User Identifier), which ensures consistent identification on the same website while preserving anonymity across different websites.
Repository Structure
demo/: Contains example code demonstrating WWPass authentication. src/: Includes the server library classes to interact with the WWPass API. wwpass.php: A standalone script for implementing WWPass authentication.
Installation
To install the Composer-compliant API client library:
Usage
The library defines two main classes: WWPass\Connection and WWPass\Exception.
Setup Instructions
Before following this tutorial, make sure you have installed the WWPass Key App. The application is available for free at AppStore and Google Play.
Step 1: Register with WWPass
Skip this section if you already have an account on manage.wwpass.com
- Register your site on the WWPass Developers.
- Obtain your Service Provider (SP) credentials (certificate and private key), and download the WWPass CA certificate.
Step 2: Domain Validation
- Add your domain in the WWPass portal and verify ownership by placing a unique verification file in your website’s root directory.
- Make sure the file is accessible via a public URL.
Step 3: Obtain Digital Certificates
-
Use OpenSSL to generate a private key and a certificate signing request (CSR):
- Upload the certificate signing request (CSR) to WWPass and download the issued certificate.
Step 4: Implement QR Code Authentication
-
Add a QR code placeholder to your HTML
-
Include the WWPass authentication script to generate and display the QR code:
- Ensure your server-side code can handle ticket generation and retrieve the user's PUID.
License
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.
Additional Resources
- For more details on implementing WWPass, see the Documentation.
- For server library setup, refer to the Server Library Integration.