-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathSsoSilentRequest.ts
More file actions
27 lines (25 loc) · 869 Bytes
/
SsoSilentRequest.ts
File metadata and controls
27 lines (25 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
/**
* Request object passed by user to ssoSilent to retrieve a Code from the server (first leg of authorization code grant flow)
*/
export type SsoSilentRequest = Partial<
Omit<
CommonAuthorizationUrlRequest,
| "responseMode"
| "earJwk"
| "codeChallenge"
| "codeChallengeMethod"
| "platformBroker"
>
> & {
/**
* Optional tenant ID (GUID) used to filter cached accounts in multi-tenant scenarios.
* When provided, account lookup will also match on tenantId, preventing incorrect account matches
* when the same user has accounts across multiple tenants with the same loginHint.
*/
tenantId?: string;
};