NAME
VCS::LibCVS::Client::Connection::CvsPass - A ~/.cvspass file.
SYNOPSIS
my $cvspass = VCS::LibCVS::Client::Connection::CvsPass->new();
my $password = $cvspass->get_password($root);
DESCRIPTION
A ~/.cvspass file. This file contains the trivially encoded passwords used by the CVS pserver authentication system. This interface provides access to the passwords.
CLASS ROUTINES
new()
$cvspass = VCS::LibCVS::Client::Connection::CvsPass->new();
Return a new CvsPass object, for the current user, found in their home directory.
INSTANCE ROUTINES
get_password()
$password = $cvspass$->get_password($root)
Retrieve the password for the indicated repository.
store_password()
$cvspass$->store_password($root, $password)
- return type: undef
- argument 1 type: VCS::LibCVS::Datum::Root
- argument 2 type: scalar string
-
The scrambled password.
Store a password for the repository. The password must be scrambled using the pserver scrambling technique. See VCS::LibCVS::Client::Connection::Pserver::pserver_scramble() for details.
SEE ALSO
VCS::LibCVS::Client::Connection::Pserver