Select to view content in your preferred language

reg refreshTokenExpirationInterval instance in android

479
1
Jump to solution
10-15-2023 08:43 PM
DeepamPalaniswami
Occasional Contributor

Guys, 

I am planning to set the 

refreshTokenExpirationInterval during oauth configuration.

since its a sealed class, how to set the custom expiration interval?

 

Any code snippet will help. 

0 Kudos
1 Solution

Accepted Solutions
RamaChintapalli
Esri Contributor

Hi,
You can set custom refresh token expiration interval as below ,

var oAuthUserConfiguration = OAuthUserConfiguration(portalUrl,clientId,redirectUri, Locale.US,
RefreshTokenExpirationInterval.Minutes(60))


Thanks
Rama

View solution in original post

1 Reply
RamaChintapalli
Esri Contributor

Hi,
You can set custom refresh token expiration interval as below ,

var oAuthUserConfiguration = OAuthUserConfiguration(portalUrl,clientId,redirectUri, Locale.US,
RefreshTokenExpirationInterval.Minutes(60))


Thanks
Rama