- 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.
32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
# 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
|
|
|
|
```python
|
|
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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|