add more documentation
This commit is contained in:
parent
a34f6874fd
commit
cfada63fb3
1
controls_authenticationPassword.txt
Normal file
1
controls_authenticationPassword.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
UPD 2021-04-22_08:40:31 5929 lib/FHEM/Core/Authentication/Passwords.pm
|
@ -1 +0,0 @@
|
|||||||
UPD 2021-04-20_19:18:02 4627 lib/FHEM/Core/Password/Utils.pm
|
|
@ -4,9 +4,9 @@ use File::Basename;
|
|||||||
use POSIX qw(strftime);
|
use POSIX qw(strftime);
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
my @filenames = ('lib/FHEM/Core/Password/Utils.pm');
|
my @filenames = ('lib/FHEM/Core/Authentication/Passwords.pm');
|
||||||
|
|
||||||
my $controlsfile = 'controls_passwordUtils.txt';
|
my $controlsfile = 'controls_authenticationPassword.txt';
|
||||||
|
|
||||||
open(FH, ">$controlsfile") || return("Can't open $controlsfile: $!");
|
open(FH, ">$controlsfile") || return("Can't open $controlsfile: $!");
|
||||||
|
|
||||||
|
@ -213,13 +213,16 @@ FHEM::Core::Authentication::Passwords->new();
|
|||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
Store new Password
|
Store new Password
|
||||||
$hash->{helper}->{passwdobj}->setStorePassword('PASSWORD');
|
$hash->{helper}->{passwdobj}->setStorePassword($name,'PASSWORD');
|
||||||
|
|
||||||
Read Password
|
Read Password
|
||||||
$hash->{helper}->{passwdobj}->getReadPassword();
|
$hash->{helper}->{passwdobj}->getReadPassword($name);
|
||||||
|
|
||||||
|
|
||||||
|
Delete Password
|
||||||
|
$hash->{helper}->{passwdobj}->setDeletePassword($name);
|
||||||
|
|
||||||
|
Rename Password
|
||||||
|
$hash->{helper}->{passwdobj}->getRename($newname,$oldname);
|
||||||
|
|
||||||
=head1 EXPORT
|
=head1 EXPORT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user