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 use Authen::SASL qw(Perl);
10
11 $sasl = Authen::SASL->new(
12 mechanism => 'PLAIN',
13 callback => {
14 user => $user,
15 pass => $pass
16 },
17 );
18
20 This method implements the client and server part of the PLAIN SASL
21 algorithm, as described in RFC 2595 resp. IETF Draft
22 draft-ietf-sasl-plain-XX.txt
23
24 CALLBACK
25 The callbacks used are:
26
27 Client
28
29 authname
30 The authorization id to use after successful authentication
31 (client)
32
33 user
34 The username to be used for authentication (client)
35
36 pass
37 The user's password to be used for authentication.
38
39 Server
40
41 checkpass(username, password, realm)
42 returns true and false depending on the validity of the credentials
43 passed in arguments.
44
46 Authen::SASL, Authen::SASL::Perl
47
49 Software written by Graham Barr <gbarr@pobox.com>, documentation
50 written by Peter Marschall <peter@adpm.de>.
51
52 Please report any bugs, or post any suggestions, to the perl-ldap
53 mailing list <perl-ldap@perl.org>
54
56 Copyright (c) 2002-2004 Graham Barr. All rights reserved. This program
57 is free software; you can redistribute it and/or modify it under the
58 same terms as Perl itself.
59
60 Documentation Copyright (c) 2004 Peter Marschall. All rights reserved.
61 This documentation is distributed, and may be redistributed, under the
62 same terms as Perl itself.
63
64 Server support Copyright (c) 2009 Yann Kerherve. All rights reserved.
65 This program is free software; you can redistribute it and/or modify it
66 under the same terms as Perl itself.
67
69 Hey! The above document had some coding errors, which are explained
70 below:
71
72 Around line 146:
73 Unknown directive: =over4
74
75 Around line 148:
76 '=item' outside of any '=over'
77
78
79
80perl v5.28.1 2010-06-02 Authen::SASL::Perl::PLAIN(3)