C# Class DotNetOpenAuth.ApplicationBlock.YahooConsumer

A consumer capable of communicating with Google Data APIs.
Datei anzeigen Open project: yahoo/yos-social-demo-dotnet

Public Properties

Property Type Description
ServiceDescription DotNetOpenAuth.OAuth.ServiceProviderDescription

Public Methods

Method Description
CreateRsaSha1ServiceDescription ( X509Certificate2 signingCertificate ) : DotNetOpenAuth.OAuth.ServiceProviderDescription

The service description to use for accessing Google data APIs using an X509 certificate.

RequestAuthorization ( DotNetOpenAuth.OAuth.DesktopConsumer consumer, string &requestToken ) : Uri

Requests authorization from Google to access data from a set of Google applications.

RequestAuthorization ( DotNetOpenAuth.OAuth.WebConsumer consumer ) : void

Requests authorization from Google to access data from a set of Google applications.

YQL ( DotNetOpenAuth.OAuth.ConsumerBase consumer, string accessToken, string yql ) : System.Xml.Linq.XDocument

Method Details

CreateRsaSha1ServiceDescription() public static method

The service description to use for accessing Google data APIs using an X509 certificate.
public static CreateRsaSha1ServiceDescription ( X509Certificate2 signingCertificate ) : DotNetOpenAuth.OAuth.ServiceProviderDescription
signingCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 The signing certificate.
return DotNetOpenAuth.OAuth.ServiceProviderDescription

RequestAuthorization() public static method

Requests authorization from Google to access data from a set of Google applications.
public static RequestAuthorization ( DotNetOpenAuth.OAuth.DesktopConsumer consumer, string &requestToken ) : Uri
consumer DotNetOpenAuth.OAuth.DesktopConsumer The Google consumer previously constructed using or .
requestToken string The unauthorized request token assigned by Google.
return System.Uri

RequestAuthorization() public static method

Requests authorization from Google to access data from a set of Google applications.
public static RequestAuthorization ( DotNetOpenAuth.OAuth.WebConsumer consumer ) : void
consumer DotNetOpenAuth.OAuth.WebConsumer The Google consumer previously constructed using or .
return void

YQL() public static method

public static YQL ( DotNetOpenAuth.OAuth.ConsumerBase consumer, string accessToken, string yql ) : System.Xml.Linq.XDocument
consumer DotNetOpenAuth.OAuth.ConsumerBase
accessToken string
yql string
return System.Xml.Linq.XDocument

Property Details

ServiceDescription public_oe static_oe property

The Consumer to use for accessing Google data APIs.
public static ServiceProviderDescription,DotNetOpenAuth.OAuth ServiceDescription
return DotNetOpenAuth.OAuth.ServiceProviderDescription