pinRetry

Maximum number of PIN entry attempts before authentication fails.

This security measure prevents brute force attacks by limiting the number of consecutive failed PIN attempts. After exceeding this limit, the authentication operation will fail with InvalidCredentialException.

Recommended values:

  • 3-5 for most applications (balances security and usability)

  • 1-2 for high-security environments

  • 10+ for development/testing only

Default: 3 attempts