loom.core.authz.product¶
The product’s authorization declaration, published through the loom.authz entry point.
Functions
Forget the registered product; for tests. |
|
Return the registered product, else the one the |
|
|
Install |
Classes
|
What loom needs from a product to decide, delegate and elevate. |
- class loom.core.authz.product.AuthzProduct(*args, **kwargs)[source]¶
Bases:
ProtocolWhat loom needs from a product to decide, delegate and elevate.
- loom.core.authz.product.register_authz_product(product)[source]¶
Install
productfor this process, ahead of any entry point.- Parameters:
product (AuthzProduct)
- Return type:
None
- loom.core.authz.product.clear_authz_product()[source]¶
Forget the registered product; for tests.
- Return type:
None
- loom.core.authz.product.load_authz_product()[source]¶
Return the registered product, else the one the
loom.authzentry point names.- Return type:
AuthzProduct | None