{
    "mode": "info",
    "parameter": "Authen::SASL::Perl::PLAIN",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/Authen%3A%3ASASL%3A%3APerl%3A%3APLAIN/json",
    "generated": "2026-07-05T13:51:36Z",
    "synopsis": "use Authen::SASL qw(Perl);\n$sasl = Authen::SASL->new(\nmechanism => 'PLAIN',\ncallback  => {\nuser => $user,\npass => $pass\n},\n);",
    "sections": {
        "Authen::SASL::Perl::PLUser3Contributed Perl DocuAuthen::SASL::Perl::PLAIN(3pm)": {
            "content": "",
            "subsections": []
        },
        "NAME": {
            "content": "Authen::SASL::Perl::PLAIN - Plain Login Authentication class\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Authen::SASL qw(Perl);\n\n$sasl = Authen::SASL->new(\nmechanism => 'PLAIN',\ncallback  => {\nuser => $user,\npass => $pass\n},\n);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This method implements the client and server part of the PLAIN SASL\nalgorithm, as described in RFC 2595 resp. IETF Draft\ndraft-ietf-sasl-plain-XX.txt\n\nCALLBACK\nThe callbacks used are:\n\nClient\n\nauthname\nThe authorization id to use after successful authentication\n(client)\n\nuser\nThe username to be used for authentication (client)\n\npass\nThe user's password to be used for authentication.\n\nServer\n\ncheckpass(username, password, realm)\nreturns true and false depending on the validity of the credentials\npassed in arguments.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Authen::SASL, Authen::SASL::Perl\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Software written by Graham Barr <gbarr@pobox.com>, documentation\nwritten by Peter Marschall <peter@adpm.de>.\n\nPlease report any bugs, or post any suggestions, to the perl-ldap\nmailing list <perl-ldap@perl.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2002-2004 Graham Barr.  All rights reserved. This program\nis free software; you can redistribute it and/or modify it under the\nsame terms as Perl itself.\n\nDocumentation Copyright (c) 2004 Peter Marschall.  All rights reserved.\nThis documentation is distributed, and may be redistributed, under the\nsame terms as Perl itself.\n\nServer support Copyright (c) 2009 Yann Kerherve.  All rights reserved.\nThis program is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself.\n\nperl v5.32.0                      2020-12-18    Authen::SASL::Perl::PLAIN(3pm)",
            "subsections": []
        }
    },
    "summary": "Authen::SASL::Perl::PLAIN - Plain Login Authentication class",
    "flags": [],
    "examples": [],
    "see_also": []
}