authsignal/authsignal-php
Composer 安装命令:
composer require authsignal/authsignal-php
包简介
Authsignal is a drop-in solution that adds modern authentication to your app with minimal coding. Quickly implement passkeys, context-aware MFA, and passwordless login options like biometrics, push notifications, OTP, and TOTP—all working seamlessly with your existing identity stack.
README 文档
README
Authsignal PHP SDK
The official Authsignal PHP library for server-side applications. Use this SDK to easily integrate Authsignal's multi-factor authentication (MFA) and passwordless features into your PHP backend.
Installation
Using Composer:
composer require authsignal/authsignal-php
Getting Started
Initialize the Authsignal client with your secret key from the Authsignal Portal and the API URL for your region.
use Authsignal; // Initialize the client Authsignal::setApiSecretKey(getenv('AUTHSIGNAL_SECRET_KEY')); Authsignal::setApiUrl(getenv('AUTHSIGNAL_API_URL')); // Use region-specific URL
API URLs by Region
| Region | API URL |
|---|---|
| US (Oregon) | https://api.authsignal.com/v1 |
| AU (Sydney) | https://au.api.authsignal.com/v1 |
| EU (Dublin) | https://eu.api.authsignal.com/v1 |
License
This SDK is licensed under the MIT License.
Documentation
For more information and advanced usage examples, refer to the official Authsignal Server-Side SDK documentation.
统计信息
- 总下载量: 35.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-25
