tokenExpirationInterval property

int tokenExpirationInterval

The length of time a token credential remains valid. Represented in minutes. If not explicitly set, the server default is used.

If unspecified, the server returns a token with an expiration interval of 120 minutes (2 hours). The server default for the maximum allowed expiration time is 20160 minutes (14 days), but this value can be configured on the server.

Implementation

int get tokenExpirationInterval {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_OAuthApplicationCredential_getTokenExpirationInterval(
            _handle, errorHandler);
  });
}