Closed serhiisol closed 5 years ago
The idea here is to pass url or complete request to getHeaders method of AuthService so it can validate the request and decide whether it has to have token header. See https://github.com/serhiisol/ngx-auth/blob/master/src/auth.service.ts#L54 for a reference
url
request
getHeaders
AuthService
The idea here is to pass
url
or completerequest
togetHeaders
method ofAuthService
so it can validate the request and decide whether it has to have token header. See https://github.com/serhiisol/ngx-auth/blob/master/src/auth.service.ts#L54 for a reference