GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::OPENID::EXTENSION (3)

.ds Aq ’

NAME

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

CONTENTS

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 Net::OpenID::ClaimedIdentity 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 Net::OpenID::ExtensionMessage.

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 Net::OpenID::ExtensionMessage, 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 Net::OpenID::VerifiedIdentity 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::OPENID::EXTENSION (3) 2016-02-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.