--- title: "AAL2ResetTokenInfo" slug: "a3s-cppprg-aal2resettokeninfo-4-0" updated: 2026-11-11T09:54:58Z published: 2026-11-11T09:54:58Z canonical: "docs.onespan.com/a3s-cppprg-aal2resettokeninfo-4-0" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # AAL2ResetTokenInfo ## Function prototype ```cpp aat_int32 AAL2ResetTokenInfo (TDigipassBlob*   DPData,                               TKernelParms*    CallParms); ``` ## Description This function is used to reset the error counter. If the IThreshold or SThreshold runtime parameters are used and greater than zero during calls of AAL2VerifyPassword or AAL2VerifySignature, the current authenticator application BLOB error counter is checked to see if it is greater than or equal to the given threshold value. If it is, AAL2VerifyPassword and AAL2VerifySignature return 202 or 203. This function will reset the internal authenticator application BLOB error counter to zero. After a call to AAL2ResetTokenInfo, the synchronization time window will be used for the following password (or signature) validation. ## Parameters | Type | Name | Use | Description | | --- | --- | --- | --- | | TDigipassBlob * | DPData | I/O | authenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes. | | TKernelParms * | CallParms | I | Structure of runtime parameters to use during this function call. | ## Return codes | Code | Meaning | Code | Meaning | | --- | --- | --- | --- | | 0 | Success | 1103 | Unlock Version 2 not supported | | 412 | Invalid checksum | 1118 | Unsupported BLOB | | 413 | Invalid Base64 format | -1501 | Memory allocation failed | | 510 | Invalid Digipass data pointer | | |