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

add resource_owner_password_grant_authenticator #309

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

LStapf
Copy link
Contributor

@LStapf LStapf commented Oct 11, 2023

No description provided.

@LStapf LStapf requested a review from secana October 11, 2023 12:01
@doxthree doxthree added enhancement New feature or request Rust Pull requests that update Rust code labels Oct 12, 2023
@secana
Copy link
Member

secana commented Oct 23, 2023

As we know have multiple authentication methods, I would prefer if all authentication logic is moved to one module. This would solve the very long module name resource_owner_password_grant_authenticator, too. E.g. add a auth module and move all authentication logic into that.

This is a breaking change, but more clean than the current approach where some of the logic is in vaas and some in resource_owner_password_grant_authenticator.

I like the approach with the Authentication trait. That should be implemented for the current auth. method as well, such that it is consistent.

@secana secana self-assigned this Nov 3, 2023
@secana
Copy link
Member

secana commented Nov 3, 2023

I assigned the PR to me to implement the changes I had i mind.

secana and others added 2 commits November 3, 2023 15:59
.

.

Rust: move auth to own module

.

.

.

.

.

Rust: restructure again

refactoring of auth module finished

add docs and update deps
@secana secana merged commit 4a3eab4 into main Nov 3, 2023
1 check passed
@GermanCoding GermanCoding deleted the rust/add-resource-owner-password-cred-grant-auth branch April 9, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants