HTTP::Headers::ActionPack::WWWAuthenticate(3pm)

HTTP::Headers::ActionPack::WWWAuthenticate3pm

The www-authenticate header

Usage

  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="[email protected]",
          qop="auth,auth-int",
          nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
          opaque="5ccc069c403ebaf9f0171e9517f40e41"'}
  );
  # create using parameters
  my $www_authen = HTTP::Headers::ActionPack::WWWAuthenticate->new(
      'Digest' => (
          realm  => '[email protected]',
          qop    => "auth,auth-int",
          nonce  => "dcd98b7102dd2f0e8b11d0f600bfb0c093",
          opaque => "5ccc069c403ebaf9f0171e9517f40e41"
      )
  );

Version

version 0.09

Overview

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

Methods

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

Contributors

•

Andrew Nelson <[email protected]>

•

Dave Rolsky <[email protected]>

•

Florian Ragwitz <[email protected]>

•

Jesse Luehrs <[email protected]>

•

Karen Etheridge <[email protected]>

Releases

5 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9–10
  2. 11
  3. 12
  4. 13

Author

Stevan Little <[email protected]>

From libhttp-headers-actionpack-perl 0.09-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.