com.dyuproject.openid.ext
Interface Extension.Exchange

All Known Implementing Classes:
AxSchemaExtension.AbstractExchange, AxSchemaExtension.SimpleExchange, SRegExtension.SimpleExchange
Enclosing interface:
Extension

public static interface Extension.Exchange

Puts outgoing params and parses them accordingly if a response is available from the user's openid provider.


Method Summary
 String getAlias()
          Gets the alias of this exchange.
 void parseAndPut(OpenIdUser user, HttpServletRequest request, Map<String,String> attributes, String extensionAlias)
          Parses a single field parameter as a response from the user's openid provider and puts it in the attributes map.
 void put(OpenIdUser user, HttpServletRequest request, UrlEncodedParameterMap params, String extensionAlias)
          Puts a single field parameter on the params to be included in the request.
 

Method Detail

getAlias

String getAlias()
Gets the alias of this exchange.


put

void put(OpenIdUser user,
         HttpServletRequest request,
         UrlEncodedParameterMap params,
         String extensionAlias)
Puts a single field parameter on the params to be included in the request.


parseAndPut

void parseAndPut(OpenIdUser user,
                 HttpServletRequest request,
                 Map<String,String> attributes,
                 String extensionAlias)
Parses a single field parameter as a response from the user's openid provider and puts it in the attributes map.



Copyright © 2008-2013. All Rights Reserved.