{
    "content": [
        {
            "type": "text",
            "text": "# Net::LDAP::Extension::Refresh (perldoc)\n\n## NAME\n\nNet::LDAP::Extension::Refresh - LDAPv3 Refresh extension object (RFC 2589)\n\n## SYNOPSIS\n\nuse Net::LDAP;\nuse Net::LDAP::Extension::Refresh;\n$ldap = Net::LDAP->new('localhost');\n$ldap->bind('cn=admin,dc=example,dc=com', password => 'password');\n$mesg = $ldap->refresh(entryName => 'cn=dynamic,dc=example,dc=com',\nrequestTtl => 100);\ndie \"error :\", $mesg->code(), \": \", $mesg->error()  if ($mesg->code());\nprint \"TTL changed to \", $mesg->getttl(), \"\\n\";\n\n## DESCRIPTION\n\n\"Net::LDAP::Extension::Refresh\" implements the \"Refresh\" extended LDAPv3 operation as described\nin RFC 2589\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\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::Extension::Refresh",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::LDAP::Extension::Refresh - LDAPv3 Refresh extension object (RFC 2589)",
        "synopsis": "use Net::LDAP;\nuse Net::LDAP::Extension::Refresh;\n$ldap = Net::LDAP->new('localhost');\n$ldap->bind('cn=admin,dc=example,dc=com', password => 'password');\n$mesg = $ldap->refresh(entryName => 'cn=dynamic,dc=example,dc=com',\nrequestTtl => 100);\ndie \"error :\", $mesg->code(), \": \", $mesg->error()  if ($mesg->code());\nprint \"TTL changed to \", $mesg->getttl(), \"\\n\";",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::LDAP::Extension::Refresh - LDAPv3 Refresh extension object (RFC 2589)\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::LDAP;\nuse Net::LDAP::Extension::Refresh;\n\n$ldap = Net::LDAP->new('localhost');\n$ldap->bind('cn=admin,dc=example,dc=com', password => 'password');\n\n$mesg = $ldap->refresh(entryName => 'cn=dynamic,dc=example,dc=com',\nrequestTtl => 100);\ndie \"error :\", $mesg->code(), \": \", $mesg->error()  if ($mesg->code());\nprint \"TTL changed to \", $mesg->getttl(), \"\\n\";\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"Net::LDAP::Extension::Refresh\" implements the \"Refresh\" extended LDAPv3 operation as described\nin RFC 2589\n\nIt implements no object by itself but extends the Net::LDAP object by another method:\n",
                "subsections": []
            },
            "METHODS": {
                "content": "refresh ( OPTIONS )\nSend a refresh operation for an object.\n\nOPTIONS is a list of key/value pairs. The following keys are recognized:\n\nentryName\nThis option contains the object to refresh. It must be a DN.\n\nrequestTtl\nThis option contains the TTL in seconds requested. The server may choose to set another\nvalue as stated in RFC 2589\n\ngetttl ( )\nReturn the TTL set by the server during the previous \"refresh\" call.\n\nThis method is a method of the Net::LDAP::Message response object returned in reply to\n\"refresh()\" in case the \"refresh()\" call succeeded.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Net::LDAP, Net::LDAP::Extension\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Etienne Bagnoud <etienne.bagnoud@irovision.ch> Adapted from Graham Barr\nNet::LDAP::Extension::SetPassword Documentation adapted from Peter Marschall\nNet::LDAP::Extension::SetPassword\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) 2010 Etienne Bagnoud. 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": []
            }
        }
    }
}