|
1 | 1 | """ |
2 | 2 | This module documents the interface to the OpenID server library. The |
3 | 3 | only part of the library which has to be used and isn't documented |
4 | | -here is the store for associations. See the C{L{openid.stores}} |
| 4 | +here is the store for associations. See the C{L{openid.store}} |
5 | 5 | package for more information on stores. |
6 | 6 |
|
7 | 7 |
|
|
34 | 34 |
|
35 | 35 | At a high level, there are two parts of the library which are |
36 | 36 | important. First, there is the C{L{OpenIDServer}} class in this |
37 | | - module. Second, there is the C{L{openid.stores}} package, which |
| 37 | + module. Second, there is the C{L{openid.store}} package, which |
38 | 38 | contains information on the necessary persistent state mechanisms, |
39 | 39 | and several implementations. |
40 | 40 |
|
|
44 | 44 | The OpenID server needs to maintain state between requests in |
45 | 45 | order to function. Its mechanism for doing this is called a |
46 | 46 | store. The store interface is defined in |
47 | | - C{L{openid.stores.interface.OpenIDStore}}. Additionally, several |
| 47 | + C{L{openid.store.interface.OpenIDStore}}. Additionally, several |
48 | 48 | concrete store implementations are provided, so that most sites |
49 | 49 | won't need to implement a custom store. For a store backed by |
50 | 50 | flat files on disk, see |
51 | | - C{L{openid.stores.filestore.FileOpenIDStore}}. For stores based |
52 | | - on MySQL or SQLite, see the C{L{openid.stores.sqlstore}} module. |
| 51 | + C{L{openid.store.filestore.FileOpenIDStore}}. For stores based |
| 52 | + on MySQL or SQLite, see the C{L{openid.store.sqlstore}} module. |
53 | 53 | For a store using Danga's memcached caching system, see the |
54 | | - C{L{openid.stores.memcachestore}} module. |
| 54 | + C{L{openid.store.memcachestore}} module. |
55 | 55 |
|
56 | 56 |
|
57 | 57 | USING THIS LIBRARY |
@@ -216,16 +216,16 @@ def __init__(self, server_url, store): |
216 | 216 |
|
217 | 217 |
|
218 | 218 | @param store: This is the instance of an object implementing |
219 | | - C{L{openid.stores.interface.OpenIDStore}} interface which |
| 219 | + C{L{openid.store.interface.OpenIDStore}} interface which |
220 | 220 | the library will use for persistent storage. See the |
221 | | - C{L{OpenIDStore<openid.stores.interface.OpenIDStore>} |
| 221 | + C{L{OpenIDStore<openid.store.interface.OpenIDStore>}} |
222 | 222 | documentation for more information on stores and various |
223 | 223 | implementations. Note that the store used for the server |
224 | 224 | must not be a dumb-style store. It's not possible to be a |
225 | 225 | functional OpenID server without persistent storage. |
226 | 226 |
|
227 | 227 | @type store: An object implementing the |
228 | | - C{L{openid.stores.interface.OpenIDStore}} interface |
| 228 | + C{L{openid.store.interface.OpenIDStore}} interface |
229 | 229 | """ |
230 | 230 | from openid.server.impl import OpenIDServerImpl |
231 | 231 | self.impl = OpenIDServerImpl(server_url, store) |
|
0 commit comments