paulvanbladel / aurelia-auth

:key: Authentication plugin for aurelia
200 stars 74 forks source link

Updated login method signature to add custom headers #187

Open krishan-kataria opened 6 years ago

krishan-kataria commented 6 years ago

Updated login method signature in auth-service.js. login(email: any, password?: any, headers?: any): any; It will be helpful if anyone wants to add custom headers while making http request which was not feasible earlier.

krishan-kataria commented 6 years ago

I have updated type information for the same only in dist/aurelia-auth.d.ts. If it is required to update at some other places please do that I apologize for this. Please have a look ..