1Git::SVN::Prompt(3) User Contributed Perl Documentation Git::SVN::Prompt(3)
2
3
4
6 Git::SVN::Prompt - authentication callbacks for git-svn
7
9 use Git::SVN::Prompt qw(simple ssl_client_cert ssl_client_cert_pw
10 ssl_server_trust username);
11 use SVN::Client ();
12
13 my $cached_simple = SVN::Client::get_simple_provider();
14 my $git_simple = SVN::Client::get_simple_prompt_provider(\&simple, 2);
15 my $cached_ssl = SVN::Client::get_ssl_server_trust_file_provider();
16 my $git_ssl = SVN::Client::get_ssl_server_trust_prompt_provider(
17 \&ssl_server_trust);
18 my $cached_cert = SVN::Client::get_ssl_client_cert_file_provider();
19 my $git_cert = SVN::Client::get_ssl_client_cert_prompt_provider(
20 \&ssl_client_cert, 2);
21 my $cached_cert_pw = SVN::Client::get_ssl_client_cert_pw_file_provider();
22 my $git_cert_pw = SVN::Client::get_ssl_client_cert_pw_prompt_provider(
23 \&ssl_client_cert_pw, 2);
24 my $cached_username = SVN::Client::get_username_provider();
25 my $git_username = SVN::Client::get_username_prompt_provider(
26 \&username, 2);
27
28 my $ctx = new SVN::Client(
29 auth => [
30 $cached_simple, $git_simple,
31 $cached_ssl, $git_ssl,
32 $cached_cert, $git_cert,
33 $cached_cert_pw, $git_cert_pw,
34 $cached_username, $git_username
35 ]);
36
38 This module is an implementation detail of the "git svn" command. It
39 implements git-svn's authentication policy. Do not use it unless you
40 are developing git-svn.
41
42 The interface will change as git-svn evolves.
43
45 SVN::Core.
46
48 SVN::Client.
49
51 None reported.
52
54 None.
55
56
57
58perl v5.16.3 2013-06-10 Git::SVN::Prompt(3)