{
    "content": [
        {
            "type": "text",
            "text": "# Net::LDAP::Intermediate (perldoc)\n\n## NAME\n\nNet::LDAP::Intermediate - LDAPv3 intermediate response object base class\n\n## SYNOPSIS\n\nuse Net::LDAP::Intermediate;\n\n## DESCRIPTION\n\n\"Net::LDAP::Intermediate\" is a base-class for LDAPv3 intermediate response objects.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTORS**\n- **METHODS**\n- **SEE ALSO**\n- **AUTHOR**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::LDAP::Intermediate",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::LDAP::Intermediate - LDAPv3 intermediate response object base class",
        "synopsis": "use Net::LDAP::Intermediate;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CONSTRUCTORS",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 41,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::LDAP::Intermediate - LDAPv3 intermediate response object base class\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::LDAP::Intermediate;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"Net::LDAP::Intermediate\" is a base-class for LDAPv3 intermediate response objects.\n",
                "subsections": []
            },
            "CONSTRUCTORS": {
                "content": "new ( ARGS )\nARGS is a list of name/value pairs, valid arguments are:\n\nresponseName\nA dotted-decimal representation of an OBJECT IDENTIFIER which uniquely identifies the\nintermediate response. This prevents conflicts between intermediate response names.\n\nresponseValue\nOptional information associated with the intermediate response. It's format is specific\nto the particular intermediate response.\n\nfromasn ( ASN )\nASN is a HASH reference, normally extracted from a PDU. It will contain a \"responseName\"\nelement and optionally \"responseValue\" element. On return ASN will be blessed into a\npackage. If \"responseName\" is a registered OID, then ASN will be blessed into the registered\npackage, if not then ASN will be blessed into Net::LDAP::Intermediate.\n\nThis constructor is used internally by Net::LDAP and assumes that HASH passed contains a\nvalid intermediate response. It should be used with caution.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "In addition to the methods listed below, each of the named parameters to \"new\" is also available\nas a method. \"responseName\" will return the OID of the intermediate response object.\n\"responseValue\" is set/get methods and will return the current value for each attribute if\ncalled without arguments, but may also be called with arguments to set new values.\n\nerror ()\nIf there has been an error returns a description of the error, otherwise it will return\n\"undef\"\n\ninit ()\n\"init\" will be called as the last step in both constructors. What it does will depend on the\nsub-class. It must always return the object.\n\nregister ( OID )\n\"register\" is provided for sub-class implementors. It should be called as a class method on\na sub-class of Net::LDAP::Intermediate with the OID that the class will handle.\nNet::LDAP::Intermediate will remember this class and OID pair and use it in the following\nsituations.\n\n*   \"new\" is called as a class method on the Net::LDAP::Intermediate package and OID is\npassed as the responseName. The returned object will be blessed into the package that\nregistered the OID.\n\n*   \"new\" is called as a class method on a registered package and the \"responseName\" is not\nspecified. The \"responseName\" will be set to the OID registered by that package.\n\n*   \"fromasn\" is called to construct an object from ASN. The returned object will be\nblessed into the package which was registered to handle the OID in the ASN.\n\n( toasn )\nReturns a structure suitable for passing to Convert::ASN1 for encoding. This method will be\ncalled by Net::LDAP when the intermediate response is used.\n\nThe base class implementation of this method will call the \"responseValue\" method without\narguments to allow a sub-class to encode it's value. Sub-classes should not need to override\nthis method.\n\nvalid ()\nReturns true if the object is valid and can be encoded. The default implementation for this\nmethod is to return TRUE if there is no error, but sub-classes may override that.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Net::LDAP Net::LDAP::Extension Net::LDAP::Search Net::LDAP::Intermediate::SyncInfo\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Mathieu Parent <math.parent@gmail.com>\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) 2008 Mathieu Parent. All rights reserved. This program is free software; you can\nredistribute it and/or modify it under the same terms as Perl itself.\n",
                "subsections": []
            }
        }
    }
}