PHP Classes

File: docs/api/contracts.rst

Recommend this page to a friend!
  Packages of A. B. M. Mahmudul Hasan   OTP   docs/api/contracts.rst   Download  
File: docs/api/contracts.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: OTP
Generate token to be verified during a time window
Author: By
Last change:
Date: 20 days ago
Size: 534 bytes
 

Contents

Class file image Download
Contracts ========= ReplayStoreInterface -------------------- Use this to persist replay state for TOTP, HOTP, or OCRA verification flows. RecoveryCodeStoreInterface -------------------------- Use this to persist hashed recovery codes and their metadata. SecretStoreInterface -------------------- Use this when building your own secret storage abstraction around the package. Included in-memory stores ------------------------- - ``Infocyph\OTP\Stores\InMemoryReplayStore`` - ``Infocyph\OTP\Stores\InMemoryRecoveryCodeStore``