Authen::SASL::Perl::PLAIN - Plain Login Authentication class
| Use Case | Command | Description |
|---|---|---|
| Load module | use Authen::SASL qw(Perl); | Import the Perl SASL backend |
| Create SASL client | Authen::SASL->new(mechanism => 'PLAIN', callback => {...}) | Initialize PLAIN mechanism with user/pass |
| Server check | checkpass($username, $password, $realm) | Validate credentials server-side |
use Authen::SASL qw(Perl);
$sasl = Authen::SASL->new(
mechanism => 'PLAIN',
callback => {
user => $user,
pass => $pass
},
);
This method implements the client and server part of the PLAIN SASL algorithm, as described in RFC 2595 resp. IETF Draft draft-ietf-sasl-plain-XX.txt
The callbacks used are:
Authen::SASL, Authen::SASL::Perl
Software written by Graham Barr <gbarr AT pobox.com>, documentation written by Peter Marschall <peter AT adpm.de>.
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap AT perl.org>
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.
perl v5.32.0 â 2020-12-18 â Authen::SASL::Perl::PLAIN(3pm)
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-07 06:03 @2600:1f28:365:80b0:ed19:4cb6:6073:b302
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)