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

[v1] authentication: Add WithContext functions #2893

Merged
merged 2 commits into from Feb 5, 2024

Conversation

gophercloud-backport-bot[bot]
Copy link

Backport: #2890

Allow using a context to cancel and trace authentication calls.

In the process, add WithContext functions to token-requesting packages:

  • openstack/identity/v2/tokens/requests.go
  • openstack/identity/v3/extensions/ec2tokens/requests.go
  • openstack/identity/v3/extensions/oauth1/requests.go
  • openstack/identity/v3/tokens/requests.go

Allow using a context to cancel and trace authentication calls.
@github-actions github-actions bot added the semver:minor Backwards-compatible change label Feb 5, 2024
@EmilienM
Copy link
Contributor

EmilienM commented Feb 5, 2024

@pierreprinetti I'll let you review the backport.

@coveralls
Copy link

Coverage Status

coverage: 77.924% (+0.01%) from 77.913%
when pulling b8f25bc on bp-v1-40e1664-c9b54ab
into 28518d6 on v1.

@pierreprinetti pierreprinetti merged commit c15850d into v1 Feb 5, 2024
35 checks passed
@pierreprinetti pierreprinetti deleted the bp-v1-40e1664-c9b54ab branch February 5, 2024 15:29
@mandre mandre mentioned this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor Backwards-compatible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants