Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paragonie/multi_factor

Vendor-Agnostic Two-Factor Authentication
https://github.com/paragonie/multi_factor

Last synced: 3 months ago
JSON representation

Vendor-Agnostic Two-Factor Authentication

Awesome Lists containing this project

README

        

# Multi-Factor

Designed to be a vendor-agnostic implementation of various Two-Factor
Authentication solutions.

Developed by [Paragon Initiative Enterprises](https://paragonie.com) for use
in our own projects. It's released under a dual license: GPL and MIT. As with
all dual-licensed projects, feel free to choose the license that fits your
needs.

## Requirements

* PHP 7.2+
* As per [Paragon Initiative Enterprise's commitment to open source](https://paragonie.com/blog/2016/04/go-php-7-our-commitment-maintaining-our-open-source-projects),
all new software will no longer be written for PHP 5.

## Installing

```sh
composer require paragonie/multi-factor
```

## Example Usage

```php
validateCode($_POST['2facode'], time())) {
// Login successful
}
}
```