Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Net::OpenID::Extension

Name Net::OpenID::Extension
Version 1.20
Located at /usr/share/perl5
File /usr/share/perl5/Net/OpenID/Extension.pm
Is Core No
Search CPAN for this module Net::OpenID::Extension
Documentation Net::OpenID::Extension
Module Details Net::OpenID::Extension

NAME

Net::OpenID::Extension - Base class for OpenID extensions


VERSION

version 1.20


METHODS

CLASS->namespace_uris

Return a hashref mapping namespace URIs to the aliases you will use to refer to them in the other methods. For example:

    return {
        'http://example.com/some-extension' => 'someext',
    };

CLASS->new_request(@parameters)

When your extension is added to the the Net::OpenID::ClaimedIdentity manpage object in consumer-land, this method will be called to create a request object. Any additional arguments passed when adding the extension will be passed through verbatim in @parameters.

The object you return here should at minimum provide the interface defined in the Net::OpenID::ExtensionMessage manpage.

You can return undef here if you have nothing useful to return.

CLASS->received_request(\%args)

In server-land, when a caller asks for the request object for your extension this method will be called to create a request object. %args maps the aliases you returned from the namespace_uris method to a hashref of the key-value pairs provided in that namespace.

The object you return here should at minimum provide the interface defined in the Net::OpenID::ExtensionMessage manpage, and should behave identically to the corresponding object returned from new_request.

You can return undef here if you have nothing useful to return.

CLASS->new_response(@parameters)

When your extension is added to the response in server-land, this method will be called to create a response object. Any additional arguments passed when adding the extension will be passed through verbatim in @parameters.

You can return undef here if you have nothing useful to return.

CLASS->received_response(\%args)

In consumer-land, when a caller asks for the request object for your extension in the Net::OpenID::VerifiedIdentity manpage this method will be called to create a response object. %args maps the aliases you returned from the namespace_uris method to a hashref of the key-value pairs provided in that namespace.

You can return undef here if you have nothing useful to return.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026