Authen:...THBEARER(3)
β¨ Authen::SASL::Perl::OAUTHBEARER π
okay bestie, gather round, because this one is literally the Authen::SASL::Perl::OAUTHBEARER manual page from the User Contributed Perl Documentation, and it's giving "OAuth 2.0 but make it SASL" π
VERSION: version 2.2100 β yes, that's the number, don't @ me π«Ά
πΈ SYNOPSIS πΈ
here's the whole vibe, copy it exactly, no cap:
use Authen::SASL qw(Perl);
$sasl = Authen::SASL->new(
mechanism => 'OAUTHBEARER',
callback => {
user => $user,
host => $hostname, #optional
port => $port, #optional
pass => $access_token
},
);
like, that's it. that's the whole setup. slay β¨
π DESCRIPTION π
so this module implements the client side of the OAUTHBEARER SASL mechanism, which is used for OAuth 2.0-based authentication. it's lowkey iconic β it's the little guy doing the auth dance for you π§
π¦ CALLBACK π¦
the callbacks used are, and yes, you need to know all of them:
π Client
userβ the username to be used for authentication. literally just who you are, bestie.hostβ the hostname to which the client will connect to. it is optional and can be omitted. so like, if you don't have it, no big deal πportβ the destination port that the client will connect to. it should be a decimal positive integer string without leading zeros. it is optional and can be omitted. so443yes,0443absolutely not, and yes that matters, iykyk πpassβ the OAuth 2.0 access token to be used for authentication. this is the main character right here, the actual token, handle with care π
π SEE ALSO π
go check out the whole family, they're all iconic:
Authen::SASLAuthen::SASL::Perl
π AUTHORS π
written by Aditya Garg and Julian Swagemakers. periodt. π«Ά
π₯ COPYRIGHT π₯
Copyright (c) 2025 Aditya Garg.
Copyright (c) 2025 Julian Swagemakers.
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. fr fr, that's the actual license text, don't skip it πΈ
okay that's the whole page bestie, every option, every callback, every line of legal stuff, nothing skipped, we ate and left no crumbs π β¨
aaaand that's a wrap! this was perl v5.42.2, dated 2026-09-06, from the Authen:...THBEARER(3) page β mwah, go authenticate something cute π¦π
π¦ where this page comes from
- arch rolling: perl-authen-sasl 2.2100-1 Β· GPL AND PerlArtistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms