Download the PHP package authsignal/authsignal-php without Composer
On this page you can find all versions of the php package authsignal/authsignal-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download authsignal/authsignal-php
More information about authsignal/authsignal-php
Files in authsignal/authsignal-php
Package authsignal-php
Short Description Authsignal is a passwordless authentication/multifactor authentication step up service with a FraudOps rules engine
License MIT
Informations about the package authsignal-php
Authsignal Server PHP SDK
Check out our official PHP SDK documentation.
Installation
-
Add Authsignal's library to your project using Composer:
- Run
composer update
to install the dependencies. - Authsignal will now be autoloaded into your project.
Initialization
Initialize the Authsignal SDK, ensuring you do not hard code the Authsignal Secret Key, always keep this safe.
You can find your secretKey
in the Authsignal Portal.
Region selection
Authsignal has multiple api hosting regions. To view your hostname for your tenant, find it in the Authsignal Portal.
Region | Base URL |
---|---|
US (Oregon) | https://signal.authsignal.com/v1 |
AU (Sydney) | https://au.signal.authsignal.com/v1 |
EU (Dublin) | https://eu.signal.authsignal.com/v1 |
You can set the hostname via the following code. If the setApiHostname
function is not called, the api call defaults to the main Authsignal US region hostname https://signal.authsignal.com
An example setting the client to use the AU region.
Alternatively, an environment variable can be used to set the base URL:
Usage
Authsignal's server side signal API has five main calls track
, getAction
, getUser
, enrollVerifiedAuthenticator
, verifyChallenge
For more details on these api calls, refer to our official PHP SDK docs.
License
The library is available as open source under the terms of the MIT License.