1HTTP::Headers::ActionPaUcske:r:WCWoWnAturtihbHeuTntTtePid:c:aPHteeera(ld3e)Drosc:u:mAecnttiaotniPoanck::WWWAuthenticate(3)
2
3
4
6 HTTP::Headers::ActionPack::WWWAuthenticate - The WWW-Authenticate
7 Header
8
10 version 0.09
11
13 use HTTP::Headers::ActionPack::WWWAuthenticate;
14
15 # create from string
16 my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new_from_string(
17 'Basic realm="WallyWorld"'
18 );
19
20 # create using parameters
21 my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new(
22 'Basic' => (
23 realm => 'WallyWorld'
24 )
25 );
26
27 # create from string
28 my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new_from_string(
29 q{Digest
30 realm="testrealm@host.com",
31 qop="auth,auth-int",
32 nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
33 opaque="5ccc069c403ebaf9f0171e9517f40e41"'}
34 );
35
36 # create using parameters
37 my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new(
38 'Digest' => (
39 realm => 'testrealm@host.com',
40 qop => "auth,auth-int",
41 nonce => "dcd98b7102dd2f0e8b11d0f600bfb0c093",
42 opaque => "5ccc069c403ebaf9f0171e9517f40e41"
43 )
44 );
45
47 This class represents the WWW-Authenticate header and all it's
48 variations, it is based on the
49 HTTP::Headers::ActionPack::Core::BaseAuthHeader class.
50
52 "new ( %params )"
53 "new_from_string ( $header_string )"
54 "realm"
55 "as_string"
56
58 Stevan Little <stevan.little@iinteractive.com>
59
61 • Andrew Nelson <anelson@cpan.org>
62
63 • Dave Rolsky <autarch@urth.org>
64
65 • Florian Ragwitz <rafl@debian.org>
66
67 • Jesse Luehrs <doy@tozt.net>
68
69 • Karen Etheridge <ether@cpan.org>
70
72 This software is copyright (c) 2012 by Infinity Interactive, Inc..
73
74 This is free software; you can redistribute it and/or modify it under
75 the same terms as the Perl 5 programming language system itself.
76
77
78
79perl v5.36.0 H2T0T2P3:-:0H1e-a2d0ers::ActionPack::WWWAuthenticate(3)