2017 © Pedro Peláez
 

library php-sdk-two-factor-authentication

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

image

fortytwo/php-sdk-two-factor-authentication

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  • Thursday, September 15, 2016
  • by Fortytwo
  • Repository
  • 3 Watchers
  • 0 Stars
  • 57 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

TWO FACTOR AUTHENTICATION FOR FORTYTWO

This SDK help you to use the Two Factor Authentication service from FortyTwo Telecom, (*1)

How to use it:

With composer:

Using composer:, (*2)

    composer require fortytwo/php-sdk-two-factor-authentication

directly:

You can download the library from the Fortytwo Telecom website or on our official Github repository., (*3)

Testing:

Execute the following command on the project directory:, (*4)

vendor/bin/phpunit -c tests/Phpunit.xml

Currently the code coverage is 100%., (*5)

API:

The SDK expose 2 main functions:, (*6)

TwoFactorAuthentication::requestCode()

Parameters:, (*7)

Name Type Required Description
clientRef String Yes Client reference.
phoneNumber String Yes Destination Phone number.
optionalArgs Array No List of optionals arguments

List of optionals arguments:, (*8)

Name Type Default Constraints Description
codeLength Integer 6 Maximum value 20 2FA Code
codeType String Numeric alpha, numeric or alphanumeric 2FA Code type.
caseSensitive Boolean null True or False 2FA Code case sensitive
callbackUrl String null URL format withscheme (http/https) 2FA Callback URL.
senderId String null - Custom sender ID.
messageTemplate String null {#TFA_CODE} Required Custom message template

You can found a more detailled description of each parameter in the API documentation, (*9)

TwoFactorAuthentication::validateCode()

Parameters:, (*10)

Name Type Required Description
clientRef String Yes Client reference.
code String Yes 2FA Code.

You can found a more detailled description of each parameter in the API documentation, (*11)

The Versions

15/09 2016

dev-master

9999999-dev

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

15/09 2016

dev-develop

dev-develop

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

15/09 2016

1.4.1

1.4.1.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

14/09 2016

1.4.0

1.4.0.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

09/09 2016

1.3.1

1.3.1.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

10/05 2016

1.3.0

1.3.0.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

03/05 2016

1.2.0

1.2.0.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

19/04 2016

1.1.0

1.1.0.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

25/02 2016

1.0.4

1.0.4.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

25/02 2016

1.0.3

1.0.3.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

25/02 2016

1.0.2

1.0.2.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

19/02 2016

1.0.1

1.0.1.0

Fortytwo’s Two-Factor Authentication (2FA) API adds an additional layer of security to your users’ login credentials with a unique one-time code which limits the risk of fraudulent access to your website.

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factor authentication

16/02 2016

1.0.0

1.0.0.0

Fortytwo.com 2FA SDKs

  Sources   Download

MIT

The Requires

 

The Development Requires

2fa two factor authentication fortytwo 2 factori authentication