1.1 --- a/WebStack/Resources/LoginRedirect.py Thu May 01 21:42:52 2008 +0000
1.2 +++ b/WebStack/Resources/LoginRedirect.py Thu May 01 21:43:42 2008 +0000
1.3 @@ -4,7 +4,7 @@
1.4 Login redirection resources, sending unauthenticated users to a login screen
1.5 URL.
1.6
1.7 -Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2004, 2005, 2006, 2007, 2008 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This library is free software; you can redistribute it and/or
1.11 modify it under the terms of the GNU Lesser General Public
1.12 @@ -43,6 +43,9 @@
1.13 later time or provided by 'get_login_url' and 'get_app_url' methods in
1.14 a subclass of this class.
1.15
1.16 + The 'app_url' should be the "bare" reference using a protocol, host
1.17 + and port, not including any path information.
1.18 +
1.19 If the optional 'anonymous_parameter_name' is set, clients providing a
1.20 parameter of that name in the URL will not be authenticated, but then
1.21 such clients will get a predefined user identity associated with them,
2.1 --- a/WebStack/Resources/OpenIDLogin.py Thu May 01 21:42:52 2008 +0000
2.2 +++ b/WebStack/Resources/OpenIDLogin.py Thu May 01 21:43:42 2008 +0000
2.3 @@ -40,7 +40,8 @@
2.4
2.5 """
2.6 Initialise the resource with the application URL 'app_url' and an
2.7 - 'authenticator'.
2.8 + 'authenticator'. The 'app_url' should be the "bare" reference using a
2.9 + protocol, host and port, not including any path information.
2.10
2.11 The optional 'associations' is a mapping from association handles to
2.12 secret keys.
3.1 --- a/WebStack/Resources/OpenIDRedirect.py Thu May 01 21:42:52 2008 +0000
3.2 +++ b/WebStack/Resources/OpenIDRedirect.py Thu May 01 21:43:42 2008 +0000
3.3 @@ -70,7 +70,9 @@
3.4
3.5 """
3.6 Initialise the authenticator with a 'secret_key', 'app_url' and optional
3.7 - 'associations', 'replay_limit', 'cookie_name' and 'urlencoding'.
3.8 + 'associations', 'replay_limit', 'cookie_name' and 'urlencoding'. The
3.9 + 'app_url' should be the "bare" reference using a protocol, host and
3.10 + port, not including any path information.
3.11 """
3.12
3.13 Verifier.__init__(self, secret_key, cookie_name)