wangzhibo
2026-05-09 53418655c061ac26f66058253f39200aced1ab1d
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
28
29
30
31
/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
 
import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node";
 
/**
 * Request object passed by user to retrieve a Code from the server (first leg of authorization code grant flow)
 * @public
 */
export type AuthorizationUrlRequest = Partial<
    Omit<
        CommonAuthorizationUrlRequest,
        | "scopes"
        | "redirectUri"
        | "resourceRequestMethod"
        | "resourceRequestUri"
        | "authenticationScheme"
        | "storeInCache"
    >
> & {
    /**
     * Array of scopes the application is requesting access to.
     */
    scopes: Array<string>;
    /**
     * The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
     */
    redirectUri: string;
};