Oauth token maximum renovations

Official Content
This documentation is valid for:

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 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





Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.