{
    "mode": "perldoc",
    "parameter": "Net::OpenID::VerifiedIdentity",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3AOpenID%3A%3AVerifiedIdentity/json",
    "generated": "2026-06-13T23:16:01Z",
    "synopsis": "use Net::OpenID::Consumer;\nmy $csr = Net::OpenID::Consumer->new;\n....\nmy $vident = $csr->verifiedidentity\nor die $csr->err;\nmy $url = $vident->url;",
    "sections": {
        "NAME": {
            "content": "Net::OpenID::VerifiedIdentity - Object representing a verified OpenID identity\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 1.18\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::OpenID::Consumer;\nmy $csr = Net::OpenID::Consumer->new;\n....\nmy $vident = $csr->verifiedidentity\nor die $csr->err;\n\nmy $url = $vident->url;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "After Net::OpenID::Consumer verifies a user's identity and does the signature checks, it gives\nyou this Net::OpenID::VerifiedIdentity object, from which you can learn more about the user.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$vident->url\nReturns the URL (as a scalar) that was verified. (Remember, an OpenID is just a URL.)\n\n$vident->display\nReturns the a short \"display form\" of the verified URL using a couple brain-dead patterns.\nFor instance, the identity \"http://www.foo.com/~bob/\" will map to \"bob [foo.com]\" The www.\nprefix is removed, as well as http, and a username is looked for, in either the tilde form,\nor \"/users/USERNAME\" or \"/members/USERNAME\". If the path component is empty or just \"/\",\nthen the display form is just the hostname, so \"http://myblog.com/\" is just \"myblog.com\".\n\nSuggestions for improving this function are welcome, but you'll probably get more satisfying\nresults if you make use of the data returned by the Simple Registration (SREG) extension,\nwhich allows the user to choose a preferred nickname to use on your site.\n\n$vident->extensionfields($nsuri)\nReturn the fields from the given extension namespace, if any, that were included in the\nassertion request. The fields are returned in a hashref.\n\nIn most cases you'll probably want to use signedextensionfields instead, to avoid attacks\nwhere a man-in-the-middle alters the extension fields in transit.\n\nNote that for OpenID 1.1 transactions only Simple Registration (SREG) 1.1 is supported.\n\n$vident->signedextensionfields($nsuri)\nThe same as extensionfields except that only fields that were signed as part of the\nassertion are included in the returned hashref. For example, if you included a Simple\nRegistration request in your initial message, you might fetch the results (if any) like\nthis:\n\n$sreg = $vident->signedextensionfields(\n'http://openid.net/extensions/sreg/1.1',\n);\n\nAn important gotcha to bear in mind is that for OpenID 2.0 responses no extension fields can\nbe considered signed unless the corresponding extension namespace declaration is also\nsigned. If that is not the case, this method will behave as if no extension fields for that\nURI were signed.\n\n$vident->rss\n$vident->atom\n$vident->foaf\n$vident->declaredrss\n$vident->declaredatom\n$vident->declaredfoaf\nReturns the absolute URLs (as scalars) of the user's RSS, Atom, and FOAF XML documents that\nwere also found in their HTML's <head> section. The short versions will only return a URL if\nthey're below the root URL that was verified. If you want to get at the user's declared\nrss/atom/foaf, even if it's on a different host or parent directory, use the declared*\nversions, which don't have the additional checks.\n\n2005-05-24: A future module will take a Net::OpenID::VerifiedIdentity object and create an\nOpenID profile object so you don't have to manually parse all those documents to get profile\ninformation.\n\n$vident->foafmaker\nReturns the value of the \"foaf:maker\" meta tag, if declared.\n\nCOPYRIGHT, WARRANTY, AUTHOR\nSee Net::OpenID::Consumer for author, copyrignt and licensing information.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::OpenID::Consumer\n\nNet::OpenID::ClaimedIdentity\n\nNet::OpenID::Server\n\nWebsite: <http://openid.net/>\n",
            "subsections": []
        }
    },
    "summary": "Net::OpenID::VerifiedIdentity - Object representing a verified OpenID identity",
    "flags": [],
    "examples": [],
    "see_also": []
}