File

src/app/auth/auth-interceptor.service.ts

Description

Service to intercept authentication requests

Index

Methods

Constructor

constructor(authService: AuthService)

Class constructor

Parameters :
Name Type Optional Description
authService AuthService No

authentication service

Methods

intercept
intercept(req: HttpRequest<any>, next: HttpHandler)

Intercepts and handles authentication requests

Parameters :
Name Type Optional Description
req HttpRequest<any> No

http request

next HttpHandler No

http handler

Returns : any

results matching ""

    No results matching ""