Skip to content

feat: added kavach funcs and tests for methods- accessControl and get_auth_message #44

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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

AnonO6
Copy link

@AnonO6 AnonO6 commented Jul 11, 2025

Description

Implemented accessControl and get_auth_message methods based on the Lighthouse JavaScript SDK.

New Features

  • get_auth_message: Fetches an authentication message from the Lighthouse backend for user signing.
  • accessControl: Handles access control functionality using the provided parameters.
  • Used pydantic for data validation.

Test Coverage

Includes test cases for both methods.

Note

The PR also includes the generate, and shard_key methods feature as they are used in the tests for accessCondition method.

@AnonO6 AnonO6 changed the title feat: added tests for methods- accessControl and get_auth_message feat: added funcs and tests for methods- accessControl and get_auth_message Jul 11, 2025
@AnonO6 AnonO6 changed the title feat: added funcs and tests for methods- accessControl and get_auth_message feat: added kavach funcs and tests for methods- accessControl and get_auth_message Jul 13, 2025
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