Skip to content

Commit

Permalink
Clarify docs
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Li <[email protected]>
  • Loading branch information
yuvipanda and manics authored May 7, 2024
1 parent f0d5a19 commit 175b000
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,8 +1047,7 @@ def get_user_groups(self, auth_state: dict):
Returns a set of groups the user belongs to based on auth_state_groups_key
and provided auth_state.
- If auth_state_groups_key is a callable, it is meant to return the groups
directly.
- If auth_state_groups_key is a callable, it returns the list of groups directly.
- If auth_state_groups_key is a nested dictionary key like
"permissions.groups", this function returns
auth_state["permissions"]["groups"].
Expand Down

0 comments on commit 175b000

Please sign in to comment.