{
    "content": [
        {
            "type": "text",
            "text": "# Authen::SASL::Perl::LOGIN (perldoc)\n\n## NAME\n\nAuthen::SASL::Perl::LOGIN - Login Authentication class\n\n## SYNOPSIS\n\nuse Authen::SASL qw(Perl);\n$sasl = Authen::SASL->new(\nmechanism => 'LOGIN',\ncallback  => {\nuser => $user,\npass => $pass\n},\n);\n\n## DESCRIPTION\n\nThis method implements the client and server part of the LOGIN SASL algorithm, as described in\nIETF Draft draft-murchison-sasl-login-XX.txt.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (2 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::LOGIN",
        "section": "",
        "mode": "perldoc",
        "summary": "Authen::SASL::Perl::LOGIN - Login Authentication class",
        "synopsis": "use Authen::SASL qw(Perl);\n$sasl = Authen::SASL->new(\nmechanism => 'LOGIN',\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": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": [
                    {
                        "name": "getsecret",
                        "lines": 2
                    },
                    {
                        "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::LOGIN - Login Authentication class\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Authen::SASL qw(Perl);\n\n$sasl = Authen::SASL->new(\nmechanism => 'LOGIN',\ncallback  => {\nuser => $user,\npass => $pass\n},\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This method implements the client and server part of the LOGIN SASL algorithm, as described in\nIETF Draft draft-murchison-sasl-login-XX.txt.\n\nCALLBACK\nThe callbacks used are:\n\nClient\nuser\nThe username to be used for authentication\n\npass\nThe user's password to be used for authentication\n\nServer",
                "subsections": [
                    {
                        "name": "getsecret",
                        "content": "returns the password associated with \"username\"\n"
                    },
                    {
                        "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>. Server support by Yann Kerherve <yannk@cpan.org>\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": []
            }
        }
    }
}