1HTTP::Headers::ActionPaUcske:r:ACHuoTtnThtPor:ri:ibHzueatatedideornPs:e::r:DlAicgDteoiscotun(mP3ea)nctka:t:iAounthorization::Digest(3)
2
3
4
6 HTTP::Headers::ActionPack::Authorization::Digest - The Digest
7 Authorization Header
8
10 version 0.09
11
13 use HTTP::Headers::ActionPack::Authorization::Digest;
14
15 # create from string
16 my $auth = HTTP::Headers::ActionPack::Authorization::Digest->new_from_string(
17 q{Digest
18 username="jon.dough@mobile.biz",
19 realm="RoamingUsers@mobile.biz",
20 nonce="CjPk9mRqNuT25eRkajM09uTl9nM09uTl9nMz5OX25PZz==",
21 uri="sip:home.mobile.biz",
22 qop=auth-int,
23 nc=00000001,
24 cnonce="0a4f113b",
25 response="6629fae49393a05397450978507c4ef1",
26 opaque="5ccc069c403ebaf9f0171e9517f40e41"}
27 );
28
29 # create from parameters
30 my $auth = HTTP::Headers::ActionPack::Authorization::Digest->new(
31 'Digest' => (
32 username => 'jon.dough@mobile.biz',
33 realm => 'RoamingUsers@mobile.biz',
34 nonce => "CjPk9mRqNuT25eRkajM09uTl9nM09uTl9nMz5OX25PZz==",
35 uri => "sip:home.mobile.biz",
36 qop => 'auth-int',
37 nc => '00000001',
38 cnonce => "0a4f113b",
39 response => "6629fae49393a05397450978507c4ef1",
40 opaque => "5ccc069c403ebaf9f0171e9517f40e41"
41 )
42 );
43
45 This class represents the Authorization header with the specific focus
46 on the 'Basic' type. It is just a simple subclass of
47 HTTP::Headers::ActionPack::Core::BaseAuthHeader
48
50 "new ( %params )"
51 "new_from_string ( $header_string )"
52 "username"
53 "realm"
54 "as_string"
55
57 Stevan Little <stevan.little@iinteractive.com>
58
60 • Andrew Nelson <anelson@cpan.org>
61
62 • Dave Rolsky <autarch@urth.org>
63
64 • Florian Ragwitz <rafl@debian.org>
65
66 • Jesse Luehrs <doy@tozt.net>
67
68 • Karen Etheridge <ether@cpan.org>
69
71 This software is copyright (c) 2012 by Infinity Interactive, Inc..
72
73 This is free software; you can redistribute it and/or modify it under
74 the same terms as the Perl 5 programming language system itself.
75
76
77
78perl v5.36.0 HTTP::H2e0a2d2e-r0s7:-:2A2ctionPack::Authorization::Digest(3)