We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7a806 commit 5802073Copy full SHA for 5802073
src/cmap/auth/mongodb_oidc/azure_machine_workflow.ts
@@ -63,9 +63,9 @@ function isEndpointResultValid(
63
): token is { access_token: unknown; expires_in: unknown } {
64
if (token == null || typeof token !== 'object') return false;
65
return (
66
- 'access_token' in token &&
67
- typeof token.access_token === 'string' &&
68
- 'expires_in' in token &&
69
- typeof token.expires_in === 'number'
+ 'accessToken' in token &&
+ typeof token.accessToken === 'string' &&
+ 'expiresInSeconds' in token &&
+ typeof token.expiresInSeconds === 'number'
70
);
71
}
0 commit comments