MCPcopy Index your code
hub / github.com/simstudioai/sim / isMicrosoftProvider

Function isMicrosoftProvider

apps/sim/lib/oauth/microsoft.ts:15–17  ·  view source on GitHub ↗
(providerId: string)

Source from the content-addressed store, hash-verified

13])
14
15export function isMicrosoftProvider(providerId: string): boolean {
16 return MICROSOFT_PROVIDERS.has(providerId)
17}
18
19export function getMicrosoftRefreshTokenExpiry(): Date {
20 return new Date(Date.now() + MICROSOFT_REFRESH_TOKEN_LIFETIME_DAYS * 24 * 60 * 60 * 1000)

Callers 5

auth.tsFile · 0.90
microsoft.test.tsFile · 0.90
performCoalescedRefreshFunction · 0.90
refreshTokenIfNeededFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected