Alex Taler > VCS-LibCVS > VCS::LibCVS::Client::Connection::CvsPass

Download:
VCS-LibCVS-1.0002.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  3
View/Report Bugs
Source  

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 type: VCS::LibCVS::Client::CvsPass

Return a new CvsPass object, for the current user, found in their home directory.

INSTANCE ROUTINES ^

get_password()

$password = $cvspass$->get_password($root)

return type: scalar string
argument 1 type: VCS::LibCVS::Datum::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
syntax highlighting: