{
    "content": [
        {
            "type": "text",
            "text": "# Authen::SASL::Perl::PLAIN (perldoc)\n\n## NAME\n\nAuthen::SASL::Perl::PLAIN - Plain Login Authentication class\n\n## SYNOPSIS\n\nuse Authen::SASL qw(Perl);\n$sasl = Authen::SASL->new(\nmechanism => 'PLAIN',\ncallback  => {\nuser => $user,\npass => $pass\n},\n);\n\n## DESCRIPTION\n\nThis method implements the client and server part of the PLAIN SASL algorithm, as described in\nRFC 2595 resp. IETF Draft draft-ietf-sasl-plain-XX.txt\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **SEE ALSO**\n- **AUTHORS**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Authen::SASL::Perl::PLAIN",
        "section": "",
        "mode": "perldoc",
        "summary": "Authen::SASL::Perl::PLAIN - Plain Login Authentication class",
        "synopsis": "use Authen::SASL qw(Perl);\n$sasl = Authen::SASL->new(\nmechanism => 'PLAIN',\ncallback  => {\nuser => $user,\npass => $pass\n},\n);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 17,
                "subsections": [
                    {
                        "name": "checkpass",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 9,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Authen::SASL::Perl::PLAIN - Plain Login Authentication class\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 2.1700\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 algorithm, as described in\nRFC 2595 resp. IETF Draft draft-ietf-sasl-plain-XX.txt\n\nCALLBACK\nThe callbacks used are:\n\nClient\nauthname\nThe authorization id to use after successful authentication (client)\n\nuser\nThe username to be used for authentication (client)\n\npass\nThe user's password to be used for authentication.\n\nServer",
                "subsections": [
                    {
                        "name": "checkpass",
                        "content": "returns true and false depending on the validity of the credentials passed in arguments.\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "Authen::SASL, Authen::SASL::Perl\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Software written by Graham Barr <gbarr@pobox.com>, documentation written by Peter Marschall\n<peter@adpm.de>.\n\nPlease report any bugs, or post any suggestions, to the perl-ldap mailing list\n<perl-ldap@perl.org>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (c) 2002-2004 Graham Barr. All rights reserved. This program is free software; you can\nredistribute it and/or modify it under the same terms as Perl itself.\n\nDocumentation Copyright (c) 2004 Peter Marschall. All rights reserved. This documentation is\ndistributed, and may be redistributed, under the same terms as Perl itself.\n\nServer support Copyright (c) 2009 Yann Kerherve. All rights reserved. This program is free\nsoftware; you can redistribute it and/or modify it under the same terms as Perl itself.\n",
                "subsections": []
            }
        }
    }
}