PHP Classes

File: docs/api/results.rst

Recommend this page to a friend!
  Packages of A. B. M. Mahmudul Hasan   OTP   docs/api/results.rst   Download  
File: docs/api/results.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: 760 bytes
 

Contents

Class file image Download
Result Objects ============== VerificationResult ------------------ Used by advanced verification flows in TOTP, HOTP, and OCRA. Fields: - ``matched`` - ``reason`` - ``matchedTimestep`` - ``matchedCounter`` - ``driftOffset`` - ``replayDetected`` - ``verifiedAt`` RecoveryCodeGenerationResult ---------------------------- Fields: - ``plainCodes`` - ``totalGenerated`` - ``remainingCount`` - ``lastUsedAt`` RecoveryCodeConsumptionResult ----------------------------- Fields: - ``consumed`` - ``reason`` - ``remainingCount`` - ``totalGenerated`` - ``lastUsedAt`` StepUpResult ------------ Returned by ``Infocyph\OTP\Support\StepUp::assess()``. Fields: - ``requiresFreshOtp`` - ``verifiedAt`` - ``ageInSeconds`` - ``freshForSeconds`` - ``expiresAt``