DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
getSessionExpiry(
orgUrl):Promise<number>
Returns the remaining Salesforce session lifetime in seconds for an initialized org. Concurrent calls return the same in-flight Promise supplied by Lightning Out.
• orgUrl: string
The initialized Salesforce org URL.
Promise<number>
Remaining session lifetime in seconds.