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 version 2.1700
10
12 use Authen::SASL qw(Perl);
13
14 $sasl = Authen::SASL->new(
15 mechanism => 'LOGIN',
16 callback => {
17 user => $user,
18 pass => $pass
19 },
20 );
21
23 This method implements the client and server part of the LOGIN SASL
24 algorithm, as described in IETF Draft
25 draft-murchison-sasl-login-XX.txt.
26
27 CALLBACK
28 The callbacks used are:
29
30 Client
31
32 user
33 The username to be used for authentication
34
35 pass
36 The user's password to be used for authentication
37
38 Server
39
40 getsecret(username)
41 returns the password associated with "username"
42
43 checkpass(username, password)
44 returns true and false depending on the validity of the credentials
45 passed in arguments.
46
48 Authen::SASL, Authen::SASL::Perl
49
51 Software written by Graham Barr <gbarr@pobox.com>, documentation
52 written by Peter Marschall <peter@adpm.de>. Server support by Yann
53 Kerherve <yannk@cpan.org>
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::LOGIN(3)