manpagez: man pages & more
man Git::SVN::Prompt(3)
Home | html | info | man
Git::SVN::Prompt(3)   User Contributed Perl Documentation  Git::SVN::Prompt(3)




NAME

       Git::SVN::Prompt - authentication callbacks for git-svn


SYNOPSIS

           use Git::SVN::Prompt qw(simple ssl_client_cert ssl_client_cert_pw
                                   ssl_server_trust username);
           use SVN::Client ();

           my $cached_simple = SVN::Client::get_simple_provider();
           my $git_simple = SVN::Client::get_simple_prompt_provider(\&simple, 2);
           my $cached_ssl = SVN::Client::get_ssl_server_trust_file_provider();
           my $git_ssl = SVN::Client::get_ssl_server_trust_prompt_provider(
               \&ssl_server_trust);
           my $cached_cert = SVN::Client::get_ssl_client_cert_file_provider();
           my $git_cert = SVN::Client::get_ssl_client_cert_prompt_provider(
               \&ssl_client_cert, 2);
           my $cached_cert_pw = SVN::Client::get_ssl_client_cert_pw_file_provider();
           my $git_cert_pw = SVN::Client::get_ssl_client_cert_pw_prompt_provider(
               \&ssl_client_cert_pw, 2);
           my $cached_username = SVN::Client::get_username_provider();
           my $git_username = SVN::Client::get_username_prompt_provider(
               \&username, 2);

           my $ctx = new SVN::Client(
               auth => [
                   $cached_simple, $git_simple,
                   $cached_ssl, $git_ssl,
                   $cached_cert, $git_cert,
                   $cached_cert_pw, $git_cert_pw,
                   $cached_username, $git_username
               ]);


DESCRIPTION

       This module is an implementation detail of the "git svn" command.  It
       implements git-svn's authentication policy.  Do not use it unless you
       are developing git-svn.

       The interface will change as git-svn evolves.


DEPENDENCIES

       SVN::Core.


SEE ALSO

       SVN::Client(3).


INCOMPATIBILITIES

       None reported.


BUGS

       None.



perl v5.16.3                      2015-04-21               Git::SVN::Prompt(3)

git 2.3.6 - Generated Mon Apr 27 19:13:00 CDT 2015
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.