Editar

Partilhar via


MsalInterceptorConfiguration type

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