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

Use expiration parameter in getVAPIDAuthorizationHeader #74

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

Conversation

sometimes-i-send-pull-requests

In the current state of the repository, expiration was being ignored in getVAPIDAuthorizationHeader, and would always use a value based on 12 hours after time.Now(). This seems to be the result of a bad merge conflict resolution, as it was correct in #45 but the merge commit for #46 backed out the relevant change.

With this PR, expiration is now used as provided, reintroducing the behavior added in #45. A test is also added to catch any potential future breakage here.

Fixes #73.

Previously it was being ignored, and would always use a value based on
12 hours after time.Now().  With this change, expiration is now used
as provided.
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.

VapidExpiration option is unused
1 participant