MCPcopy Create free account
hub / github.com/Noumena-Network/code / performManagedReauth

Function performManagedReauth

src/utils/auth.ts:1635–1645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1633}
1634
1635async function performManagedReauth(): Promise<boolean> {
1636 if (pendingManagedReauth) {
1637 return pendingManagedReauth
1638 }
1639
1640 const promise = performManagedReauthImpl().finally(() => {
1641 pendingManagedReauth = null
1642 })
1643 pendingManagedReauth = promise
1644 return promise
1645}
1646
1647async function checkAndRefreshOAuthTokenIfNeededImpl(
1648 retryCount: number,

Callers 1

Calls 1

performManagedReauthImplFunction · 0.85

Tested by

no test coverage detected