Last change
on this file since 6552 was
6515,
checked in by Henrik Bettermann, 13 years ago
|
Proposal for structuring the API - Part 4
|
File size:
1.0 KB
|
Line | |
---|
1 | """ |
---|
2 | Access codes are special objects used for identifying users. Each |
---|
3 | access code has a portal-wide unique number. |
---|
4 | |
---|
5 | Main content components are defined in |
---|
6 | :mod:`waeup.sirp.accesscodes.accesscodes`. This subpackage also |
---|
7 | provides a _catalog_ to lookup any access code quickly and a |
---|
8 | _workflow_ to guarantee consistent states and transitions when dealing |
---|
9 | with it. |
---|
10 | |
---|
11 | We also provide UI components to generate, archive, import and |
---|
12 | reimport access codes or batches thereof. These parts are defined in |
---|
13 | :mod:`waeup.sirp.accesscodes.browser`. |
---|
14 | |
---|
15 | The interfaces of this subpackage are defined in |
---|
16 | :mod:`waeup.sirp.accesscodes.interfaces`. |
---|
17 | """ |
---|
18 | from waeup.sirp.accesscodes.accesscodes import ( |
---|
19 | get_access_code, invalidate_accesscode, disable_accesscode, |
---|
20 | reenable_accesscode, AccessCode, AccessCodeBatch, AccessCodeBatchContainer) |
---|
21 | |
---|
22 | # Public API of this submodule |
---|
23 | __all__ = [ |
---|
24 | 'AccessCodeBatchContainer', |
---|
25 | 'AccessCodeBatch', |
---|
26 | 'AccessCode', |
---|
27 | 'get_access_code', |
---|
28 | 'invalidate_accesscode', |
---|
29 | 'disable_accesscode', |
---|
30 | 'reenable_accesscode', |
---|
31 | ] |
---|
Note: See
TracBrowser for help on using the repository browser.