Download the PHP package codefareith/cf-google-authenticator without Composer

On this page you can find all versions of the php package codefareith/cf-google-authenticator. 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 cf-google-authenticator

Google Authenticator

GitHub license GitHub release GitHub pre-release) Build Status Codecov coverage Scrutinizer code quality Requires.io requirements

TYPO3 CMS extension to enable Google 2FA (two factor authentication) for both, frontend- and backend accounts.


Donate via PayPal

Getting Started

Follow these instructions to enable Google 2FA in your TYPO3 CMS installation.

Installation

The extension needs to be installed as any other extension of TYPO3 CMS:

  1. Switch to the module “Extension Manager”.
  2. Get the extension
    1. Get it from the Extension Manager: Press the “Retrieve/Update” button, search for the extension key cf_google_authenticator and import the extension from the repository.
    2. Get it from typo3.org: You can always get the current version from https://extensions.typo3.org/extension/cf_google_authenticator/ by downloading either the t3x or zip version. Upload the file afterward in the Extension Manager.
    3. Get it from packagist.org: Add this extension as dependency using Composer: composer require codefareith/cf-google-authenticator
  3. Change the extension configuration to your needs

Usage

After installing and activating the extension you'll be able to activate 2FA for backend and frontend users.

Backend

  1. Switch to the module "Backend Users"
  2. Select a user you wish to enable 2FA for
  3. Navigate to tab "Google Authenticator"
  4. Check "Enable Google Authenticator"
  5. Within the Google Authenticator App: scan the provided QR code or set up the authenticator manually by using the given secret
  6. Fill out "One-time password" with the code created by your App
  7. Save

On the TYPO3 CMS backend login screen, you'll notice a new field "Google Authenticator Code". If you've activated Google 2FA for your backend user, you'll need to enter the code, generated by the app, to log into your backend account.

If you'll ever lose your Google Authenticator, the only way to disable 2FA is via the database, by setting "tx_cfgoogleauthenticator_enable" to 0, for the desired user.

Frontend

In order to offer frontend users the possibility to secure their accounts via two-factor authentication, two conditions must be met[1]:

  1. in the extension configuration the 2FA must be activated for the frontend (deactivated by default):

    • Select the extension module and search for "[codeFareith] Google Authenticator".
    • right click on the gear (Configure)
    • activate the checkbox under "FE enabled" and then click on "save".
  2. via the backend, the necessary plugin must be placed on a page provided for this purpose:
    • Select a preferred page via the page module and make sure that it is only accessible for logged in frontend users.
    • Then create a new content element on the aforementioned page.
    • Under the "Plug-Ins" tab, select "General Plug-In".
    • In the next step open the next tab called "Plug-Ins".
    • Select "Google Two-Factor-Authentication Setup" from the dropdown and click on save. Done!

[1] After enabling/disabling frontend 2FA, you might need to flush frontend cache in order to show/hide the one-time password field in the login form.

History

See CHANGELOG.md

License

GNU Public License


GitHub followers GitHub forks GitHub stars GitHub watchers

Twitter Follow


GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub downloads GitHub contributors

GitHub commit activity GitHub last commit GitHub release date GitHub release date pre

GitHub code size in bytes GitHub repo size


All versions of cf-google-authenticator with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^8.7 || ^9.5
typo3/cms-reports Version ^8.7 || ^9.5
typo3/cms-setup Version ^8.7 || ^9.5
ext-json Version *
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 codefareith/cf-google-authenticator contains the following files

Loading the files please wait ....