Methods
|
|
__init__
didntGetIdentity
didntGetPerspective
gotIdentity
gotPerspective
passwordIsOk
process
|
|
__init__
|
__init__ (
self,
reqauth,
sessionIdentity=None,
sessionPerspective=None,
)
Initialize, specifying various options.
Arguments:
reqauth: a web.resource.Resource instance, indicating which
resource a user will be logging into with this form; this must
specify a serviceName attribute which indicates the name of the
service from which perspectives will be requested.
[sessionIdentity]: if specified, the name of the attribute on
the user's session to set for the identity they get from logging
in to this form.
[sessionPerspective]: if specified, the name of the attribute on
the user's session to set for the perspective they get from
logging in to this form.
|
|
didntGetIdentity
|
didntGetIdentity (
self,
unauth,
request,
)
|
|
didntGetPerspective
|
didntGetPerspective (
self,
error,
request,
)
|
|
gotIdentity
|
gotIdentity (
self,
ident,
password,
request,
perspectiveName,
)
|
|
gotPerspective
|
gotPerspective (
self,
perspective,
request,
ident,
)
|
|
passwordIsOk
|
passwordIsOk (
self,
msg,
ident,
password,
request,
perspectiveName,
)
|
|
process
|
process (
self,
write,
request,
submit,
username,
password,
perspective,
)
Process the form results.
|
|