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

DNM: Test v2 auth interface #3047

Closed

Conversation

pierreprinetti
Copy link
Contributor

@pierreprinetti pierreprinetti commented May 16, 2024

Do not merge.
Testing here my proposed addition to #2655

cardoe and others added 2 commits May 16, 2024 07:20
Rather than creating a tokens2.AuthOptions inside the authentication
flow for identity v2, allow any structure that implements the
tokens2.AuthBuilderOptions interface to be used. The interface is
modified to add a CanReauth function like the v3 version has but
provides a default implementation. The gophercloud.AuthOptions already
implements this interface so there is no change to its API. This will
allow an out of tree identity v2 auth mechanism to be implemented,
just like the v3. fixes gophercloud#2651. ref gophercloud#1330.
@github-actions github-actions bot added the semver:major Breaking change label May 16, 2024
@coveralls
Copy link

Coverage Status

coverage: 79.004% (-0.01%) from 79.017%
when pulling 1337d28 on shiftstack:test-v2-auth-interface
into 59af460 on gophercloud:master.

@pierreprinetti pierreprinetti deleted the test-v2-auth-interface branch May 29, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:major Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants