MsalInterceptor class
建構函式
| Msal |
建構函式詳細資料
MsalInterceptor(MsalInterceptorConfiguration, MsalService, Location, MsalBroadcastService, any)
new MsalInterceptor(msalInterceptorConfig: MsalInterceptorConfiguration, authService: MsalService, location: Location, msalBroadcastService: MsalBroadcastService, document?: any)
參數
- msalInterceptorConfig
- MsalInterceptorConfiguration
- authService
- MsalService
- location
-
Location
- msalBroadcastService
- MsalBroadcastService
- document
-
any
屬性詳細資料
ɵfac
static ɵfac: ɵɵFactoryDeclaration<MsalInterceptor, never>
屬性值
ɵɵFactoryDeclaration<MsalInterceptor, never>
ɵprov
方法詳細資料
intercept(HttpRequest<any>, HttpHandler)
function intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>
參數
- req
-
HttpRequest<any>
- next
-
HttpHandler
傳回
Observable<HttpEvent<any>>