Aut::UI::Wx - A wxPerl User Interface for the Aut framework.
This module provides a wxPerl User Interface for the authorization framework (see Aut::UI::Console for an interface description).
This User Interface has the same interface as Aut::UI::Console. Please refere to this interface for more information.
Aut::UI::Console
The interface extends the minimal Aut::UI::Console interface.
new([parent]) --> Aut::UI::Wx
The new function of this interface accepts a 'parent' window id. Which is normal for wxWidgets.
new
message_ok(text, [title], [parent]) --> void
This function accepts beneath the standard text also a title and a parent. It will display a messagebox with an OK buttonthat is centered on the parent.
text
title
parent
ask_pass(text,[title],[parent]) --> string
This function accepts beneath the standard text also a title and a parent. It will display a dialog asking for a password with a Cancel and an OK button.
Cancel
OK
Returns 'undef' in case of a Cancel, or if an empty password has been given.
login(aut:Aut, [title], [parent]) --> Aut::Ticket
See Aut::UI::Console. This function displays a dialog with a Cancel and a OK button. Cancel will yield an invalid ticket.
logout(aut:Aut, ticket:Aut::Ticket) --> void
Currently only invalidates the ticket.
change_pass(aut:Aut, ticket:Aut::Ticket, [title], [parent]) --> void
Changes the password, see Aut::UI::Console.
admin(aut::Aut, ticket:Aut::Ticket, [title], [parent]) --> void
Administers the accounts, see Aut::UI::Console.
Aut, Aut::Ticket, Aut::Backend::Conf, Aut::UI::Console.
Hans Oesterholt-Dijkema <oesterhol@cpan.org>
(c)2004 Hans Oesterholt-Dijkema, This module is distributed under Artistic license.
To install Aut::UI::Wx, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Aut::UI::Wx
CPAN shell
perl -MCPAN -e shell install Aut::UI::Wx
For more information on module installation, please visit the detailed CPAN module installation guide.