aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/users/views.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-06 15:37:57 +0300
committerMunyoki Kilyungi2024-03-08 15:03:52 +0300
commit82f76b879be1baafeddc80bc361744e59e47e42b (patch)
tree622ce1385f840c3a9a10062a091d3ed08af15917 /gn_auth/auth/authorisation/users/views.py
parentcce9a772d6fe55c62368f6895492a8683e7b82ca (diff)
downloadgn-auth-82f76b879be1baafeddc80bc361744e59e47e42b.tar.gz
Replace "if" branching with "monad_from_none_or_value".
* gn_auth/auth/authentication/oauth2/models/authorization_code.py: Import "monad_from_none_or_value". (authorisation_code): Replace if branching for Nothing/Just check with "monad_from_none_or_value". * gn_auth/auth/authentication/oauth2/models/oauth2token.py: Import "monad_from_none_or_value". (__token_from_resultset__): Replace if branching for Nothing/Just check with "monad_from_none_or_value". (token_by_access_token): Ditto. (token_by_refresh_token): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn_auth/auth/authorisation/users/views.py')
0 files changed, 0 insertions, 0 deletions