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

Work_branch #53

Merged
merged 3 commits into from
Apr 3, 2024
Merged

Work_branch #53

merged 3 commits into from
Apr 3, 2024

Conversation

moonlightnexus
Copy link
Contributor

In authlite.py, update the in-memory role initialization to use the 'rol_id' key instead of iterating over the role object.
In AuthLiteClient class, update the GetAllRolesResponse to return the roles_json_list instead of the roles_list.
Add a print statement in the _re_init_roles method to print the roles_json_list (for debugging purposes).

…ion yet"

This diff adds a new method named 'attach\_role' to the AuthLiteClient class in the authlite.py file. The method takes four parameters: uid, signoff\_session\_and\_assign, refresh\_token, and access\_token. However, the method currently has no implementation, as indicated by the pass statement.
…ethods in AuthLiteClient class"

This commit adds three new methods to the AuthLiteClient class with only a pass statement in each method. These methods are: attach\_role, remove\_role, and update\_role. The methods do not perform any actions yet and are added for future implementation.
In authlite.py, update the in-memory role initialization to use the 'rol\_id' key instead of iterating over the role object.
In AuthLiteClient class, update the GetAllRolesResponse to return the roles\_json\_list instead of the roles\_list.
Add a print statement in the _re\_init\_roles method to print the roles\_json\_list (for debugging purposes).
@cla-bot cla-bot bot added the cla-signed label Apr 3, 2024
@moonlightnexus moonlightnexus merged commit 3231cbb into main Apr 3, 2024
9 of 13 checks passed
deepsource-autofix bot added a commit that referenced this pull request Apr 3, 2024
This commit fixes the style issues introduced in ca95975 according to the output
from Autopep8, Black, isort and Yapf.

Details: #53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant