GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTTP::Headers::ActionPack::WWWAuthenticate(3) User Contributed Perl Documentation HTTP::Headers::ActionPack::WWWAuthenticate(3)

HTTP::Headers::ActionPack::WWWAuthenticate - The WWW-Authenticate Header

version 0.09

  use HTTP::Headers::ActionPack::WWWAuthenticate;

  # create from string
  my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new_from_string(
      'Basic realm="WallyWorld"'
  );

  # create using parameters
  my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new(
      'Basic' => (
          realm => 'WallyWorld'
      )
  );

  # create from string
  my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new_from_string(
      q{Digest
          realm="testrealm@host.com",
          qop="auth,auth-int",
          nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
          opaque="5ccc069c403ebaf9f0171e9517f40e41"'}
  );

  # create using parameters
  my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new(
      'Digest' => (
          realm  => 'testrealm@host.com',
          qop    => "auth,auth-int",
          nonce  => "dcd98b7102dd2f0e8b11d0f600bfb0c093",
          opaque => "5ccc069c403ebaf9f0171e9517f40e41"
      )
  );

This class represents the WWW-Authenticate header and all it's variations, it is based on the HTTP::Headers::ActionPack::Core::BaseAuthHeader class.

"new ( %params )"
"new_from_string ( $header_string )"
"realm"
"as_string"

Stevan Little <stevan.little@iinteractive.com>

  • Andrew Nelson <anelson@cpan.org>
  • Dave Rolsky <autarch@urth.org>
  • Florian Ragwitz <rafl@debian.org>
  • Jesse Luehrs <doy@tozt.net>
  • Karen Etheridge <ether@cpan.org>

This software is copyright (c) 2012 by Infinity Interactive, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2013-06-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.