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

Minor docs improvements, mostly around Verify* plugs #692

Merged
merged 4 commits into from
Mar 11, 2022

Conversation

alopezz
Copy link
Contributor

@alopezz alopezz commented Feb 25, 2022

What prompted me to work on this was that as I was trying to add some custom verification logic, it wasn't obvious to me from the documentation that the Verify* plugs would let a session without a token (e.g. a logged out session) pass, and that EnsureAuthenticated is typically used for little more than checking that a token is present.

So this tries to be more clear on that, and takes the opportunity to do some other minor fixups as well.

@alopezz alopezz requested a review from a team as a code owner February 25, 2022 07:00
@yordis
Copy link
Member

yordis commented Mar 11, 2022

Hey there, my apologies for the delay, thank you so much for your help.

Do you mind rebasing?

This will have the additional effect of those lists actually being
rendered as such in the HTML docs.

Also make it clearer that what happens is that any of those conditions
not being met is sufficient.
Consistent with the deprecation attribute in the code
…s found

Also, fix the doc for VerifyHeader that refers to the session instead
of to the header.
@alopezz
Copy link
Contributor Author

alopezz commented Mar 11, 2022

Rebased just now.

Copy link
Member

@yordis yordis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much 🚀

@yordis yordis merged commit 882c90b into ueberauth:master Mar 11, 2022
@alopezz alopezz deleted the improve-verify-x-docs branch March 11, 2022 08:41
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.

None yet

2 participants