org.apache.shindig.gadgets.spec
Interface RequestAuthenticationInfo

All Known Implementing Classes:
Preload, View

public interface RequestAuthenticationInfo

Exposes authentication information to be extracted for making authenticated requests.


Method Summary
 Map<String,String> getAttributes()
           
 AuthType getAuthType()
           
 Uri getHref()
           
 boolean isSignOwner()
           
 boolean isSignViewer()
           
 

Method Detail

getAuthType

AuthType getAuthType()
Returns:
The type of authentication to use.

getHref

Uri getHref()
Returns:
The destination URI for making authenticated requests to.

isSignOwner

boolean isSignOwner()
Returns:
True if owner signing is needed.

isSignViewer

boolean isSignViewer()
Returns:
True if viewer signing is needed.

getAttributes

Map<String,String> getAttributes()
Returns:
A map of all relevant auth-related attributes.


Copyright © 2007-2012. All Rights Reserved.