1Authen::SASL::Perl::LOGUIsNe(r3)Contributed Perl DocumenAtuatthieonn::SASL::Perl::LOGIN(3)
2
3
4
6 Authen::SASL::Perl::LOGIN - Login Authentication class
7
9 use Authen::SASL qw(Perl);
10
11 $sasl = Authen::SASL->new(
12 mechanism => 'LOGIN',
13 callback => {
14 user => $user,
15 pass => $pass
16 },
17 );
18
20 This method implements the client and server part of the LOGIN SASL
21 algorithm, as described in IETF Draft
22 draft-murchison-sasl-login-XX.txt.
23
24 CALLBACK
25 The callbacks used are:
26
27 Client
28
29 user
30 The username to be used for authentication
31
32 pass
33 The user's password to be used for authentication
34
35 Server
36
37 getsecret(username)
38 returns the password associated with "username"
39
40 checkpass(username, password)
41 returns true and false depending on the validity of the credentials
42 passed in arguments.
43
45 Authen::SASL, Authen::SASL::Perl
46
48 Software written by Graham Barr <gbarr@pobox.com>, documentation
49 written by Peter Marschall <peter@adpm.de>. Server support by Yann
50 Kerherve <yannk@cpan.org>
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 175:
73 Unknown directive: =over4
74
75 Around line 177:
76 '=item' outside of any '=over'
77
78
79
80perl v5.36.0 2023-01-20 Authen::SASL::Perl::LOGIN(3)