編輯

共用方式為


InteractiveRequest type

type InteractiveRequest = Pick<
  AuthorizationUrlRequest,
  | "authority"
  | "correlationId"
  | "claims"
  | "azureCloudOptions"
  | "account"
  | "extraQueryParameters"
  | "tokenQueryParameters"
  | "extraScopesToConsent"
  | "loginHint"
  | "prompt"
> & {
  errorTemplate?: string,
  openBrowser: (url: string) => Promise<void>,
  scopes?: Array<string>,
  successTemplate?: string,
}