Getting User Information
Abstra's SDK provides the get_user()
method, which prompts the user to log in (if not already) and returns an object with the user's email.
Access Control Rules
Check out the Access Control concepts page to learn more about securing your forms and restricting access to specific users.
Editor Usage
While editing your project, you can use any email to log in and test the form.
Example
import abstra.forms as af
auth_info = af.get_user()
email = auth_info.email
print(f"User email: {email}")