()
| 17 | } |
| 18 | |
| 19 | export 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 |
no outgoing calls
no test coverage detected