1Authen::SASL::Perl::PLAUIsNe(r3)Contributed Perl DocumenAtuatthieonn::SASL::Perl::PLAIN(3)
2
3
4
6 Authen::SASL::Perl::PLAIN - Plain Login Authentication class
7
9 version 2.1700
10
12 use Authen::SASL qw(Perl);
13
14 $sasl = Authen::SASL->new(
15 mechanism => 'PLAIN',
16 callback => {
17 user => $user,
18 pass => $pass
19 },
20 );
21
23 This method implements the client and server part of the PLAIN SASL
24 algorithm, as described in RFC 2595 resp. IETF Draft
25 draft-ietf-sasl-plain-XX.txt
26
27 CALLBACK
28 The callbacks used are:
29
30 Client
31
32 authname
33 The authorization id to use after successful authentication
34 (client)
35
36 user
37 The username to be used for authentication (client)
38
39 pass
40 The user's password to be used for authentication.
41
42 Server
43
44 checkpass(username, password, realm)
45 returns true and false depending on the validity of the credentials
46 passed in arguments.
47
49 Authen::SASL, Authen::SASL::Perl
50
52 Software written by Graham Barr <gbarr@pobox.com>, documentation
53 written by Peter Marschall <peter@adpm.de>.
54
55 Please report any bugs, or post any suggestions, to the perl-ldap
56 mailing list <perl-ldap@perl.org>
57
59 Copyright (c) 2002-2004 Graham Barr. All rights reserved. This program
60 is free software; you can redistribute it and/or modify it under the
61 same terms as Perl itself.
62
63 Documentation Copyright (c) 2004 Peter Marschall. All rights reserved.
64 This documentation is distributed, and may be redistributed, under the
65 same terms as Perl itself.
66
67 Server support Copyright (c) 2009 Yann Kerherve. All rights reserved.
68 This program is free software; you can redistribute it and/or modify it
69 under the same terms as Perl itself.
70
71
72
73perl v5.38.0 2023-08-21 Authen::SASL::Perl::PLAIN(3)