mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[PR #664] [MERGED] auth headers insertion refactoring #1593
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1593
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/664
Author: @orozery
Created: 10/26/2017
Status: ✅ Merged
Merged: 11/5/2017
Merged by: @ggtakec
Base:
master← Head:auth_refactor📝 Commits (1)
384b4cbauth headers insertion refactoring📊 Changes
2 files changed (+152 additions, -248 deletions)
View changed files
📝
src/curl.cpp(+146 -247)📝
src/curl.h(+6 -1)📄 Description
Details
I refactored common authentication code (V2 & V4) to a single function called insertAuthHeaders.
This new function will allow to easily add support for other authentication mechanisms (such as Google Cloud Storage OAuth 2.0, or the IBM IAM Authentication - which I'm planning to add support to, once this PR is merged).
I've tested this PR using the integration tests, both in V4 & V2 modes - all seem to pass.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.