Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated login method signature to add custom headers #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krishan-kataria
Copy link

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
Copy link
Author

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 ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant