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

Add authentication header #21

Closed
stefanschaller opened this issue Mar 10, 2018 · 3 comments
Closed

Add authentication header #21

stefanschaller opened this issue Mar 10, 2018 · 3 comments

Comments

@stefanschaller
Copy link

In some use cases authentication is needed in order the get access to the image.

@renefloor
Copy link
Collaborator

That is indeed a good idea. I guess it would be easy to just add headers in general.

@stefanschaller
Copy link
Author

Yes, ecxacly. This can be the perfekt complication.
Thank you!

@renefloor
Copy link
Collaborator

@stefanschaller I just added optional headers. I didn't test it thoroughly yet, could you try if it works for you? It is in the release of 0.4.0-rc.1. You should use httpHeaders on the CachedNetworkImage or just headers in the CachedNetworkImageProvider.

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

No branches or pull requests

2 participants