Official Content

Sets the timeout (in minutes) to reset the failed login attempt count.

Syntax

&GAMRepository.TimeoutToResetCountFailedOAuthLogins = Number_Minutes

Where:

&GAMRepository
 
 Is a variable based on the GAMRepository data type.

Number_Minutes
  Time in minutes until the number of failed login attempts is reset.

Description

This property by default is set to 0, which means that the user will never be blocked.

Note: When using the GAM Backoffice, this property can be configured by selecting Repository > Configuration > General Security Policy. It is shown with the description "Timeout to reset countdown failed OAuth logins (minutes) (0= Does not block OAuth user)".

Sample

To set this property in the GeneXus code (by using the GAM API), the syntax is as follows:

&GAMRepository.TimeoutToResetCountFailedOAuthLogins = 60

This code implies that if the LoginAttemptsToLockUser property is set to 3, the user will have to wait 60 minutes to be able to try to log in again.

See Also

LoginAttemptsToLockUser property in GAMRepository EO
LoginAttemptsToLockSession property in GAMRepository EO
GAMUnblockUserTimeout property in GAMRepository EO

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant