Skip to content

[v1] authentication: Add WithContext functions#2893

Merged
pierreprinetti merged 2 commits intov1from
bp-v1-40e1664-c9b54ab
Feb 5, 2024
Merged

[v1] authentication: Add WithContext functions#2893
pierreprinetti merged 2 commits intov1from
bp-v1-40e1664-c9b54ab

Conversation

@gophercloud-backport-bot
Copy link
Copy Markdown

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
Copy Markdown
Contributor

EmilienM commented Feb 5, 2024

@pierreprinetti I'll let you review the backport.

@coveralls
Copy link
Copy Markdown

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
@pierreprinetti pierreprinetti deleted the bp-v1-40e1664-c9b54ab branch February 5, 2024 15:29
@mandre mandre mentioned this pull request Mar 6, 2024
@pierreprinetti pierreprinetti added the v1 This PR targets v1 label Dec 5, 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 v1 This PR targets v1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants