Schemas
ApiClient
¶
Bases: Model
has_perm(perm)
¶
has_perms(perm_list)
¶
Return True if the client has each of the specified permissions.
Source code in api/models.py
reset_hmac(*, commit=True)
¶
Reset and return the HMAC key for this client.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
commit
|
bool
|
if True (the default), persist the new hmac in db. |
True
|
Source code in api/models.py
ApiClientSchema
¶
Bases: ModelSchema
ThirdPartyAuthParamsSchema
¶
Bases: Schema