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

[PIP 97][Authorization Service] Remove unused authenticate method #12951

Conversation

michaeljmarshall
Copy link
Member

Master Issue: #12105

Motivation

This is the start of my work implementing PIP 97.

When I removed the Discovery Service in #12119, I removed the last usage of the AuthenticationService#authenticate method. There is no need for this method, and instead of updating it to the async method (provider.authenticate(authData) was deprecated in PIP 97), it is better to remove it.

Modifications

  • Remove AuthenticationService#authenticate
  • Remove the one test for the method

Verifying this change

This is a trivial change.

Does this pull request potentially affect one of the following parts:

This is not a breaking change.

Documentation

  • no-need-doc

No docs need updating, as this is minor code cleanup.

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Nov 24, 2021
@michaeljmarshall michaeljmarshall changed the title [Authorization Service] Remove unused authenticate method [PIP 97][Authorization Service] Remove unused authenticate method Nov 24, 2021
@merlimat merlimat added this to the 2.10.0 milestone Nov 29, 2021
@merlimat merlimat added the type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use label Nov 29, 2021
@merlimat merlimat merged commit 7bffdb2 into apache:master Nov 29, 2021
@michaeljmarshall michaeljmarshall deleted the remove-authentication-service-authenticate branch November 29, 2021 18:44
fxbing pushed a commit to fxbing/pulsar that referenced this pull request Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants