tokenExpirationInterval property
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 21600 minutes (15 days), but this value can be configured on the server.
Implementation
int get tokenExpirationInterval {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TokenCredential_getTokenExpirationInterval(
_handle,
errorHandler,
);
});
}