Here I want to introduce CPaaS server side 2FA (two-factor authentication) app built in PHP.
2FA helps users increase security for real-time verification using SMS or Email.
For 2FA authentication you need to login with project credentials you have created at the AT&T API marketplace.
Then you have two options to authenticate, using SMS or email. When you choose any of the above option you will get an OTP (one-time pass-code) via SMS or email which you can use to authenticate.
This sample app will give you a detailed understanding of the CPaaS 2FA implementation in your application using PHP.
Click here to access the CPaaS PHP 2FA Sample App.
Note :- Preferably use the master branch to run the application.
To watch PHP Server Side SDK demo video click here.
For full Developer Documentation, QuickStarts and API reference code visit the AT&T API Marketplace two-factor authentication PHP pages