Authen:...l::LOGIN(3)

πŸ’– Authen:...l::LOGIN(3) πŸ’–

okay bestie, welcome to the User Contributed Perl Documentation corner of the man pages πŸŽ€ (the title up top got truncated by your terminal's vibe check β€” it's really Authen::SASL::Perl::LOGIN)

✨ NAME ✨

Authen::SASL::Perl::LOGIN β€” Login Authentication class. that's it, that's the whole name section, we move 🫢


🌸 VERSION 🌸

version 2.2100 πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole setup, copy it exactly bestie:

use Authen::SASL qw(Perl);

$sasl = Authen::SASL->new(
  mechanism => 'LOGIN',
  callback  => {
    user => $user,
    pass => $pass
  },
);

✨ DESCRIPTION ✨

so this method implements both the client AND the server part of the LOGIN SASL algorithm β€” yes ma'am, both sides of the conversation πŸ’– β€” exactly as described in IETF Draft draft-murchison-sasl-login-XX.txt.

πŸŽ€ CALLBACK πŸŽ€

The callbacks used are:

πŸ’œ Client

  • user β€” the username to be used for authentication. who even are you, bestie
  • pass β€” the user's password to be used for authentication. shhh 🀫

πŸ’™ Server

  • getsecret(username) β€” returns the password associated with username
  • checkpass(username, password) β€” returns true and false depending on the validity of the credentials passed in arguments. like a little yes/no girlie πŸ’…

🌈 SEE ALSO 🌈

  • Authen::SASL
  • Authen::SASL::Perl

go read those next, iykyk πŸ“š


πŸ‘‘ AUTHORS πŸ‘‘

Software written by Graham Barr <gbarr@pobox.com>, documentation written by Peter Marschall <peter@adpm.de>. Server support by Yann Kerherve <yannk@cpan.org> πŸ”₯

Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org> β€” they genuinely want to hear from you, no cap 🫢


Copyright (c) 2002-2004 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Documentation Copyright (c) 2004 Peter Marschall. All rights reserved. This documentation is distributed, and may be redistributed, under the same terms as Perl itself.

Server support Copyright (c) 2009 Yann Kerherve. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


and that's the whole page, bestie ✨ this one shipped as part of perl v5.42.3, dated 2026-09-07 β€” slay, go auth something πŸ’…πŸ’–

πŸ“¦ where this page comes from