|
1664.
|
|
|
MyApplication/
|
|
|
type: Content of: <html><body><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:356
|
|
1665.
|
|
|
setup.py
|
|
|
type: Content of: <html><body><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:358
|
|
1666.
|
|
|
myapp/
|
|
|
type: Content of: <html><body><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:359
|
|
1667.
|
|
|
__init__.py
|
|
|
type: Content of: <html><body><ul><li><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:361
|
|
1668.
|
|
|
cred.py
|
|
|
type: Content of: <html><body><ul><li><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:362
|
|
1669.
|
|
|
server.py
|
|
|
type: Content of: <html><body><ul><li><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:363
|
|
1670.
|
|
|
twisted/
|
|
|
type: Content of: <html><body><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:366
|
|
1671.
|
|
|
plugins/
|
|
|
type: Content of: <html><body><ul><li><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:368
|
|
1672.
|
|
|
myapp_plugins.py
|
|
|
type: Content of: <html><body><ul><li><ul><li><ul><li><ul><li>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:370
|
|
1673.
|
|
|
Once you have created this structure within your application, you can create the code for your cred plugin by building a factory class which implements <code class="API" base="twisted.cred.checkers">ICheckerFactory</code>. These factory classes should not consist of a tremendous amount of code. Most of the real application logic should reside in the cred checker itself. (For help on building those, scroll up.)
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
howto/cred.xhtml:380
|