PHPackages                             logonbox/authenticator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. logonbox/authenticator

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

logonbox/authenticator
======================

An API for using LogonBox Authenticator credentials in your own PHP applications

v0.0.1(3y ago)06Apache-2.0PHPPHP &gt;=7.3

Since May 30Pushed 3y ago4 watchersCompare

[ Source](https://github.com/nervepoint/logonbox-authenticator-php)[ Packagist](https://packagist.org/packages/logonbox/authenticator)[ RSS](/packages/logonbox-authenticator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

LogonBox Authenticator API for PHP
==================================

[](#logonbox-authenticator-api-for-php)

[![Packagist](https://camo.githubusercontent.com/7092120255065fd1f1e3bcbceb1e819272102314f32182fe8d37d32dac7feadc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f676f6e626f782f61757468656e74696361746f72)](https://packagist.org/packages/logonbox/authenticator/) [![License](https://camo.githubusercontent.com/64fb981402f0d4d5b81955c5f70736e839959d33d86e72f6897f88f5b3bbf55c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c6f676f6e626f782f61757468656e74696361746f722e737667)](https://github.com/nervepoint/logonbox-authenticator-php/blob/master/LICENSE)

Use this API to integrate LogonBox Authenticator into your own PHP application authentication flows.

The LogonBox Authenticator uses an authentication mechanism similar to SSH private key authentication where users keys are published in an authorized keys listing on the credential server. This API will read the trusted public keys and then submit an authentication request payload to the credential server for signing by the corresponding private key.

As part of the signing operation, the user must authorize the request within the LogonBox Authenticator app. Once authorized the payload is signed by the private key, which is held exclusively within the secure storage of the app.

To authenticate the user, the API verifies the signature returned to obtain the authentication result.

About LogonBox Authenticator
============================

[](#about-logonbox-authenticator)

Safeguard your people, passwords and apps with [LogonBox's](https://logonbox.com) 2-Factor [Authentication app](https://www.logonbox.com/content/logonbox-authenticator/) for Android and iOS.

[![LogonBox Logo](https://github.com/nervepoint/logonbox-brand/raw/main/LogonBox-Logo-250x50.png?raw=true)](https://github.com/nervepoint/logonbox-brand/blob/main/LogonBox-Logo-250x50.png?raw=true)

Other Languages
---------------

[](#other-languages)

- [Python](https://github.com/nervepoint/logonbox-authenticator-python)
- [Node/Javascript](https://github.com/nervepoint/logonbox-authenticator-nodejs)
- [Java](https://github.com/nervepoint/logonbox-authenticator-java)
- [WordPress](https://github.com/nervepoint/logonbox-authenticator-wordpress)

Usage
-----

[](#usage)

**Direct Signing**

If you are using a different protocol and cannot redirect the user via a web browser, or want to provide your own user interface, you can perform authentication exclusively through the API.

```
