SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from OpenSuSE perl-Net-OpenID-Common-1.20-lp150.1.2.noarch.rpm

Net::OpenID::Extension

Section: User Contributed Perl Documentation (3)
Updated: 2016-02-13
Index 

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 useto 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::ClaimedIdentityobject in consumer-land, this method will be called to createa request object. Any additional arguments passed when adding theextension will be passed through verbatim in @parameters.

The object you return here should at minimum provide the interfacedefined 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 yourextension 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 interfacedefined in Net::OpenID::ExtensionMessage, and should behaveidentically 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, thismethod will be called to create a response object. Any additionalarguments passed when adding the extension will be passed throughverbatim 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 foryour extension in Net::OpenID::VerifiedIdentity this methodwill 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.


 

Index

NAME
VERSION
METHODS
CLASS->namespace_uris
CLASS->new_request(@parameters)
CLASS->received_request(\%args)
CLASS->new_response(@parameters)
CLASS->received_response(\%args)

This document was created byman2html,using the manual pages.