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 isAuthenticated to check if user is authenticated #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

keokilee
Copy link

Implementation largely borrows from the handle function, but simply
returns true or false instead of doing the work to redirect the user to
the appropriate destination.

Issue # (if available): #21

Description of changes: Simply re-uses most of the handle function to return a boolean value instead. Apologies for the formatting issues, can remove if that's a problem.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Implementation largely borrows from the `handle` function, but simply
returns true or false instead of doing the work to redirect the user to
the appropriate destination.
@danielbayerlein
Copy link

Would love to see the feature.

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