HTTP::...ticate(3pm)

✨ NAME ✨

okay so bestie, this is the HTTP::...ticate(3pm) manual page from User Contributed Perl Documentation, and it's all about HTTP::Headers::ActionPack::WWWAuthenticate β€” aka The WWW-Authenticate Header. πŸ’–


✨ VERSION ✨

version 0.09 β€” that's the whole version vibe, no cap. ✨


✨ SYNOPSIS ✨

copy these exact, bestie, because the code is the moment:

  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"
      )
  );

✨ DESCRIPTION ✨

This class represents the WWW-Authenticate header and all its variations. It is based on the HTTP::Headers::ActionPack::Core::BaseAuthHeader class. πŸ¦‹


✨ METHODS ✨

the source is giving minimal, but these are the methods it lists:

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

✨ AUTHOR ✨

Stevan Little <stevan.little@iinteractive.com> β€” iconic. πŸ‘‘


✨ CONTRIBUTORS ✨

  • 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.


okay that's the page, bestie. this was perl v5.34.0, dated 2022-06-14, and the manual is HTTP::...ticate(3pm). stay hydrated and go slay your headers. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from