編輯

共用方式為


MsalInterceptorConfiguration type

type MsalInterceptorConfiguration = {
  authRequest?:
    | MsalInterceptorAuthRequest
    | ((
        msalService: MsalService,
        req: HttpRequest<unknown>,
        originalAuthRequest: MsalInterceptorAuthRequest
      ) => MsalInterceptorAuthRequest),
  interactionType: Popup | Redirect,
  protectedResourceMap: Map<
    string,
    Array<string | ProtectedResourceScopes> | null
  >,
}