NAME
Aut::UI::Wx - A wxPerl User Interface for the Aut framework.
ABSTRACT
This module provides a wxPerl User Interface for the authorization framework (see Aut::UI::Console for an interface description).
DESCRIPTION
This User Interface has the same interface as Aut::UI::Console
. Please refere to this interface for more information.
Interface
The interface extends the minimal Aut::UI::Console
interface.
Functions
new([parent]) --> Aut::UI::Wx
The new
function of this interface accepts a 'parent' window id. Which is normal for wxWidgets.
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.
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.
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.
SEE ALSO
Aut, Aut::Ticket, Aut::Backend::Conf, Aut::UI::Console.
AUTHOR
Hans Oesterholt-Dijkema <oesterhol@cpan.org>
COPYRIGHT AND LICENSE
(c)2004 Hans Oesterholt-Dijkema, This module is distributed under Artistic license.