ESET Secure Authentication PHP SDK Getting Started Guide

Guide for adding a second authentication factor to an existing application with the ESET Secure Authentication PHP SDK.


ESET Secure Authentication PHP SDK Getting Started Guide - cover page
Brand
ESET
Category
Security Software
Document type
Installation Guide
Language
English
Pages
8
File format
PDF
File size
1 MB
Published
08 November, 2026
Updated
08 November, 2026
MD5 checksum
1145EE0A46DDE9BC43374961E5CF3310

About this manual

This getting started guide explains what is required to add a second authentication factor to an existing application using the ESET Secure Authentication PHP SDK. The SDK integrates with existing systems through a client-side library, and the guide walks through obtaining the SDK, running the sample code and integrating it into an existing platform.

The document covers activating the SDK license to obtain an API Key and Shared Secret, running the sample application, and the integration steps: extending the user database with 2FA fields, implementing the IUserStorage interface with LoadUser and SaveUser, updating the login UI to accept OTPs, updating the user management UI via the TwoFactorUser class, and optional components such as logging, auditing and an alternative SMS gateway.

What's inside

  • SDK Overview
  • Step 1: Activate Your License
  • Step 2: Running the Sample Code
  • Step 3: Using the SDK
  • Step 4: SDK System Integration
  • Database Requirements
  • Reading and Writing 2FA Data
  • Update Login UI With 2FA Methods
  • Update the Management UI to Enable/Disable 2FA For Users
  • Additional Components

Specifications

Required SDK credentialsAPI Key and Shared Secret
2FA data storage formatUnicode string of varying length
Recommended MySQL datatypeTEXT
Recommended Postgres datatypecharacter_data
Recommended Oracle datatypeNCLOB
Recommended Microsoft SQL Server datatypenvarchar(max)

Frequently asked questions

What credentials are needed to use the ESET Secure Authentication SDK?

You need an API Key and a Shared Secret, which are derived from your ESET Secure Authentication license.

How can I quickly get up and running with the SDK?

Download the sample application .zip file from the SDK samples page and follow the instructions in the included README.txt.

Which interface must be implemented to read and write 2FA data?

The IUserStorage interface, which uses the LoadUser and SaveUser methods.

Can I use my own SMS gateway instead of the ESET SMS gateway?

Yes, by implementing the ITextMessageSender interface.

Download PDF (1 MB)

More ESET Manuals


View all ESET manuals →