add more documentation

This commit is contained in:
Marko Oldenburg 2021-04-22 08:45:21 +02:00
parent a34f6874fd
commit cfada63fb3
4 changed files with 9 additions and 6 deletions

View File

@ -0,0 +1 @@
UPD 2021-04-22_08:40:31 5929 lib/FHEM/Core/Authentication/Passwords.pm

View File

@ -1 +0,0 @@
UPD 2021-04-20_19:18:02 4627 lib/FHEM/Core/Password/Utils.pm

View File

@ -4,9 +4,9 @@ use File::Basename;
use POSIX qw(strftime);
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: $!");

View File

@ -213,13 +213,16 @@ FHEM::Core::Authentication::Passwords->new();
=head1 DESCRIPTION
Store new Password
$hash->{helper}->{passwdobj}->setStorePassword('PASSWORD');
$hash->{helper}->{passwdobj}->setStorePassword($name,'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