Skip to content

Make access token accessible from auth context #20

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 9 commits into from
Aug 28, 2023

Conversation

ArtyomVancyan
Copy link
Member

Motivation:

This PR resolves the #17 issue and adds an access_token property on Auth class (Starlette's extended AuthCredentials) by making it accessible from the request context when the user is authenticated. Also, adds a few sections of documents (a little bit out of the issue scope) one of which describes the usage of it.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you updated the documentation related to the changes you have made?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

@ArtyomVancyan ArtyomVancyan marked this pull request as ready for review August 28, 2023 14:55
@ArtyomVancyan ArtyomVancyan merged commit 1eb98e0 into pysnippet:master Aug 28, 2023
@ArtyomVancyan ArtyomVancyan deleted the tokens branch August 28, 2023 14:56
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.

1 participant