LWP::A...ooddata(3pm)
π NAME π
LWP::Authen::Gooddata β the little module that handles the GoodData HTTP authentication mechanism, no cap β¨
πΈ SYNOPSIS πΈ
use WWW::GoodData::Agent;
my $agent = new WWW::GoodData::Agent ('https://secure.gooddata.com/gdc');
$agent->post ('/gdc/account/login', ...);
# The authentication cookie gets obtained transparently here
$agent->get ('/gdc/md');
π¦ DESCRIPTION π¦
okay so bestie, here's the tea β β LWP::Authen::Gooddata gets loaded and invoked by a LWP::UserAgent, or by one of its subclasses like WWW::GoodData::Agent, the moment the server claps back with a 401 "Unauthorized" response. That response is basically the server saying "use the "GoodData" authentization mechanism, babe" via the WWW-Authenticate header. π
And likeβ¦ if the challenge says the temporary authentization cookie needs to be refreshed, this module does it transparently and reissues the request, slay. Otherwise? It dies with an appropriate explanation. It's giving "no cookie for you" π
β¨ METHODS β¨
authenticate [PARAMS]β called byLWP::UserAgentinternally. That's it, that's the method, it's not for you to call directly, iykyk π
π SEE ALSO π
- <http://developer.gooddata.com/api/auth.html> β the specification of the GoodData authentization mechanism, aka the lore π
LWP::UserAgentβ the Perl HTTP agent, our main character π
π BUGS π
ngl, the GoodData authentization mechanism is not an internet standard, and that lowkey puts an interoperability barrier right in the middle of everything. π Unfortunately, no standard and widely supported mechanism provides comparable benefits β mostly server-side performance coupled with sanity of implementation, which is a real flex. Probably an alternative mechanism should be provided (Basic or Digest, both of which are widely available) so the client can negotiate. fr fr π«Ά
π COPYRIGHT π
Copyright 2011, 2012, 2013 Lubomir Rintel
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. β¨
π§ AUTHOR π§
Lubomir Rintel "lkundrak@v3.sk"
and that's the whole page, bestie β brought to you by perl v5.42.0 on 2025-07-25, LWP::A...ooddata(3pm) vibes only, mwah π
π¦ where this page comes from
- fedora 43: perl-WWW-GoodData 1.11-33.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms