Skip to content

Hold onto authorization header with ApiToken source #1599

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

Merged
merged 3 commits into from
Oct 5, 2019
Merged

Hold onto authorization header with ApiToken source #1599

merged 3 commits into from
Oct 5, 2019

Conversation

joshleeb
Copy link

@joshleeb joshleeb commented Jan 20, 2019

Modify the AuthenticationSource::ApiToken variant to hold onto the authorization header that may be used to fetch the current user.

Ref. #1548 (Task 4)

Modify the `AuthenticationSource::ApiToken` variant to hold onto the
authorization header that may be used to fetch the current user.
@joshleeb
Copy link
Author

@sgrif please take a look 😄

@bors
Copy link
Contributor

bors commented Feb 1, 2019

☔ The latest upstream changes (presumably #1610) made this pull request unmergeable. Please resolve the merge conflicts.

@markcatley
Copy link
Contributor

I've used your changes, made some improvements and moved things a little further forward. I'd love your feedback. It is PR #1700.

@carols10cents
Copy link
Member

I'm really sorry about the long delay on this, but I've resolved the merge conflicts and this looks great! Thank you!

@bors r+

@bors
Copy link
Contributor

bors commented Oct 4, 2019

📌 Commit dec4383 has been approved by carols10cents

@bors
Copy link
Contributor

bors commented Oct 4, 2019

⌛ Testing commit dec4383 with merge 83ce610...

bors added a commit that referenced this pull request Oct 4, 2019
Hold onto authorization header with ApiToken source

Modify the `AuthenticationSource::ApiToken` variant to hold onto the authorization header that may be used to fetch the current user.

Ref. #1548 (Task 4)
@bors
Copy link
Contributor

bors commented Oct 4, 2019

💔 Test failed - checks-travis

@carols10cents
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Oct 5, 2019

📌 Commit 8e3d345 has been approved by carols10cents

@bors
Copy link
Contributor

bors commented Oct 5, 2019

⌛ Testing commit 8e3d345 with merge db7f5ca...

bors added a commit that referenced this pull request Oct 5, 2019
Hold onto authorization header with ApiToken source

Modify the `AuthenticationSource::ApiToken` variant to hold onto the authorization header that may be used to fetch the current user.

Ref. #1548 (Task 4)
@bors
Copy link
Contributor

bors commented Oct 5, 2019

☀️ Test successful - checks-travis
Approved by: carols10cents
Pushing db7f5ca to master...

@bors bors merged commit 8e3d345 into rust-lang:master Oct 5, 2019
@joshleeb joshleeb deleted the api-token-auth-header branch October 5, 2019 01:18
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.

4 participants