8000 Make User generic in OIDC Request class by shawnz · Pull Request #96 · aliev/aioauth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make User generic in OIDC Request class #96

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

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

shawnz
Copy link
Contributor
@shawnz shawnz commented Aug 15, 2024

This adds a new OIDC BaseRequest class which is generic on the User type, unlike the existing OIDC Request class which hardcodes the User type to Any. This allows you to create a subclass of BaseRequest with a particular User type, just like you can do with the non-OIDC version of the BaseRequest class.

This is the same change as in #95 but with some extra commits removed that were accidentally included in the other PR. Sorry about that

@shawnz shawnz requested a review from aliev as a code owner August 15, 2024 22:19
@aliev
Copy link
Owner
aliev commented Aug 17, 2024

hey @shawnz . Thank you very much for your contribution and sorry for being late! I will review ASAP.

@shawnz
Copy link
Contributor Author
shawnz commented Aug 17, 2024

No worries, I'm not in any rush with these changes. Thanks for looking into this

@aliev aliev merged commit 73a03c3 into aliev:master Aug 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0