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 Custom Authenticate Verification #82

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

logston
Copy link
Collaborator

@logston logston commented Jul 18, 2022

This commit adds a new SCIM setting named
GET_IS_AUTHENTICATED_PREDICATE. This setting points to a function that
determines if the user is authenticated or not. This function can be
overridden by supplying one's own authentication predicate.

Closes #78.

Blocked by #81

@logston logston force-pushed the logston/custom-authentication branch from 2e1f0ac to 8af50d8 Compare July 22, 2022 17:10
@logston logston mentioned this pull request Jul 22, 2022
@logston logston force-pushed the logston/custom-authentication branch from 8af50d8 to 44cd667 Compare July 22, 2022 19:05
@logston logston changed the title [BLOCKED] Add Custom Authenticate Verification Add Custom Authenticate Verification Jul 22, 2022
Copy link

@bartoszgrabski bartoszgrabski left a comment

Choose a reason for hiding this comment

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

Looks good!

tests/test_views.py Outdated Show resolved Hide resolved
This commit adds a new SCIM setting named
`GET_IS_AUTHENTICATED_PREDICATE`. This setting points to a function that
determines if the user is authenticated or not. This function can be
overridden by supplying one's own authentication predicate.
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.

Support SCIM views with custom authentication mechanisms
2 participants