• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] TFA_SAMP - 1st two-factor authentication method for SA-MP.
#6
You have an example of how to set it up here: https://github.com/GiampaoloFalqui/TFA_S...xample.pwn





Code:
/*

* TFASAMP_prepareConnection

* This function prepares the connection to your hosting in order to request the APIs.

*

* host[] ? ? ? ? = Your webhosting link and the directory, if any (without http://).

* password[]? ? ?= The password to use the PHP files to communicate with the APIs.

* api_key[] ? ?? = You may find it in your Authy's dashboard.

* type[] ? ? ? ? = Choose your connection type between 'development' and 'production'.

*

* @returns false if failed, true if success.

*/



and you're good to go.
Italian Foreign Section Moderator

Psytrance Producer as YPMG @ soundcloud.com/ypmgmusic

Working on a roleplay project @ twitch.tv/giampy5
  Reply


Messages In This Thread
RE: TFA_SAMP - 1st two-factor authentication method for SA-MP. - by GiamPy - 2019-04-13, 09:04 AM

Forum Jump: