easybill_client/generated/async/docs/LoginSecurity.md
claudi caacb339dd Add unit tests for authentication and webhook parsing
- Implement tests for basic and bearer authentication headers in `test_auth.py`.
- Create tests for the `EasybillWebhookParser` in `test_webhooks.py`, covering JSON and form-encoded payloads, as well as a generic parse and acknowledgement method.
2026-04-17 10:20:12 +02:00

1.4 KiB

LoginSecurity

This object is only displayed if your request the login resource as an admin. Otherwise this property will be null.

Properties

Name Type Description Notes
two_factor_enabled bool Shows if the login has two factor enabled for the login process [optional] [readonly] [default to False]
recovery_codes_enabled bool Shows if the login has recovery codes enabled to bypass two factor [optional] [readonly] [default to False]
notify_on_new_login_enabled bool Shows if the login has enabled to be notified if a new login is made from an unknown device. [optional] [readonly] [default to True]

Example

from easybill_generated_async.models.login_security import LoginSecurity

# TODO update the JSON string below
json = "{}"
# create an instance of LoginSecurity from a JSON string
login_security_instance = LoginSecurity.from_json(json)
# print the JSON string representation of the object
print(LoginSecurity.to_json())

# convert the object into a dict
login_security_dict = login_security_instance.to_dict()
# create an instance of LoginSecurity from a dict
login_security_from_dict = LoginSecurity.from_dict(login_security_dict)

[Back to Model list] [Back to API list] [Back to README]