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

Function getMicrosoftRefreshTokenExpiry

apps/sim/lib/oauth/microsoft.ts:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19export function getMicrosoftRefreshTokenExpiry(): Date {
20 return new Date(Date.now() + MICROSOFT_REFRESH_TOKEN_LIFETIME_DAYS * 24 * 60 * 60 * 1000)
21}
22
23/**
24 * Derives whether a Microsoft ID token proves ownership of `email`. Azure AD's

Callers 2

auth.tsFile · 0.90
performCoalescedRefreshFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected