Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/paragonie/multi_factor
- Owner: paragonie
- License: other
- Created: 2016-06-13T02:32:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-02T23:03:57.000Z (almost 2 years ago)
- Last Synced: 2024-07-19T03:49:22.578Z (4 months ago)
- Language: PHP
- Size: 55.7 KB
- Stars: 142
- Watchers: 16
- Forks: 20
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
}
}
```