Wt  3.2.0
Public Member Functions
Wt::Auth::PasswordPromptDialog Class Reference

A dialog that prompts for the user password. More...

#include <Wt/Auth/PasswordPromptDialog>

Inheritance diagram for Wt::Auth::PasswordPromptDialog:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 PasswordPromptDialog (Login &login, const AbstractPasswordService &auth)
 Constructor.

Detailed Description

A dialog that prompts for the user password.

This is a simple dialog, useful for prompting the user to enter his password. This may be convenient for example to let the user upgrade from a weak authentication to a strong authentication.

The dialog uses a Login object to get the currently identified user, and also sets the result of the login process by calling Login::login() on this object.

The dialog renders the "Wt.Auth.template.password-prompt" template.


Constructor & Destructor Documentation

Wt::Auth::PasswordPromptDialog::PasswordPromptDialog ( Login login,
const AbstractPasswordService auth 
)

Constructor.

From the passed login object, the dialog obtains the User for which a valid password needs to be entered. The result, if successful, is signalled using Login::login().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator

Generated on Tue Nov 29 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1