serhiisol / ngx-auth

Angular 16+ Authentication Module
MIT License
234 stars 47 forks source link

Feature: add ability to check request if it has to have auth token #38

Closed serhiisol closed 5 years ago

serhiisol commented 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