OAuth:...rithms(3pm)
β¨ NAME β¨
OAuth::Lite2::Signer::Algorithms β it's giving signature algorithms π
(this is a Perl manual page from the User Contributed Perl Documentation, bestie, so you know it's community-made π«Ά)
πΈ SYNOPSIS πΈ
my $algorithm = OAuth::Lite2::Signer::Algorithms->get_algorithm('hmac-sha256');
my $signature = $algorithm->hash($key, $text);
okay so like, two lines and you're already signing stuff?? main character energy fr π₯
π DESCRIPTION π
DEPRECATED. π¨ Yeah bestie, I said what I said. This thing is an algorithm object store for OAuth 2.0 signature. It still works, it's just... in its retirement era π
π METHODS π
π¦ add_algorithm( $signer )
Add a signer algorithm object, slay β¨
- The class should be
OAuth::Lite2::Signer::Algorithmor its child (so, a subclass β we don't do imposters here π). OAuth::Lite2::Signer::Algorithm::HMAC_SHA256is automatically added by default β no cap, it's already in there when you show up π
π§ get_algorithm( $algorithm_name )
Grab an algorithm object by its name, periodt π
my $algorithm = OAuth::Lite2::Signer::Algorithms->get_algorithm('hmac-sha256');
Like... you hand it the name, it hands you the algorithm. Iconic behaviour honestly π
β SEE ALSO β
OAuth::Lite2::Signer::AlgorithmOAuth::Lite2::Signer::Algorithm::HMAC_SHA1OAuth::Lite2::Signer::Algorithm::HMAC_SHA256
iykyk π go read these next, they're the whole vibe.
π AUTHOR π
Lyo Kato, <lyo.kato@gmail.com>
πΈ COPYRIGHT AND LICENSE πΈ
Copyright (C) 2010 by Lyo Kato
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
and that's the whole page bestie π₯° this lil gem came from perl v5.36.0, dated 2023-07-01, so it's a certified classic π thanks for reading, go sign something pretty β¨π«Ά
π¦ where this page comes from
- debian trixie: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms