Download the PHP package o-ba/mfa-hotp without Composer

On this page you can find all versions of the php package o-ba/mfa-hotp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mfa-hotp

TYPO3 Extension mfa_hotp

This extension adds the HOTP (hmac-based one-time password) MFA provider to TYPO3, using the new MFA API, available since TYPO3 v11.1. It can furthermore be used as an example extension on how to integrate a custom provider into TYPO3.

The extension supports all TYPO3 versions >= 11.1 with PHP >= 7.4.

Important: For better understanding, especially for editors, the provider is referred to as Counter-based one-time password in the TYPO3 backend.

Note: Since the TYPO3 MFA API is still experimental, changes in upcoming releases are to be expected.

Installation

You can install the extension via composer composer req o-ba/mfa-hotp, download the release packages (zip, tar.gz) or via the TYPO3 extension repository.

About HOTP

The HOTP MFA Provider is based on a shared secret, which will be exchanged between an OTP application (or device) and TYPO3. Each code takes the initially defined shared secret and an increasing counter value into account. Each code is only valid once, since the counter value will be updated on both sides after every authentication attempt. Therefore, this provider is also called Counter-based one-time password.

To use this provider:

  1. Navigate to the MFA module in the TYPO3 backend and click on "Setup"
  2. Scan the QR-code or directly enter the shared secret in an OTP application or device
  3. Enter the generated six-digit code in the corresponding field
  4. Submit the form to activate the MFA provider
  5. Alternatively also activate the built-in Recovery codes provider

In the providers' editing view, it's also possible to initiate the counter resynchronization. This will be necessary, in case the local counter value (client side) does no longer match the expected counter value on the server side.

TYPO3 and multi-factor authentication

You can read more about the implementation in the official changelog.

Further TYPO3 extensions adding MFA providers

Credits

Icons used in this repository are made by Freepik from www.flaticon.com.


All versions of mfa-hotp with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
typo3/cms-core Version ^11.1
bacon/bacon-qr-code Version ^2.0
christian-riesen/base32 Version ^1.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package o-ba/mfa-hotp contains the following files

Loading the files please wait ....