Official Content

OAuth token maximum renovations is a GAM Security Policy property, which allows to specify the number of times that the OAuth session will be automatically renewed each time it expires.

Description

Take into account that in case of SD applications the authentication process is done using OAuth, and through Oauth token expire Security Policy property you can set the time of validity of the user session in SD applications. The OAuth token maximum renovations property specifies the number of times that the session can expire and the login is automatically renewed without asking the user to enter his credentials again.

Example

GAMExampleEntrySecurityPolicy Web Panel (located in GAM Example folder) is an example where this property is used.

The way to use it in GeneXus code (by using the GAM API) is the following:

&SecurityPolicy.OauthTokenExpire  = &OauthTokenExpire
&SecurityPolicy.OauthTokenMaximumRenovations  = &OauthTokenMaximumRenovations

See Also

Oauth token expire (minutes)
Security Session Management in Applications using GAM






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