Wt: Wt::Auth::PasswordPromptDialog Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::Auth::PasswordPromptDialog Class Reference
Authentication module (Wt::Auth)

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

`#include <Wt/Auth/PasswordPromptDialog>`

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

List of all members.

## Public Member Functions
| PasswordPromptDialog (Login &login, AuthModel *model)
| 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,
|  | AuthModel * | model
| ) |  |

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 Functions Variables Typedefs Enumerations Enumerator