envilder
Version:
A CLI and GitHub Action that securely centralizes your environment variables from AWS SSM or Azure Key Vault as a single source of truth
9 lines • 373 B
JavaScript
const SSO_SESSION_EXPIRED_ERROR_NAMES = new Set(['TokenProviderError']);
export function isSsoSessionExpiredError(error) {
if (typeof error !== 'object' || error === null || !('name' in error)) {
return false;
}
const name = String(error.name);
return SSO_SESSION_EXPIRED_ERROR_NAMES.has(name);
}
//# sourceMappingURL=isSsoSessionExpiredError.js.map