C# Class Google.Auth.Util

Datei anzeigen Open project: Redth/Google.Auth

Public Methods

Method Description
BuildOAuthHeader ( NameValueCollection p ) : string
BuildUrl ( string baseUrl, NameValueCollection param ) : string
DownloadUrl ( string url ) : string
EpochNow ( ) : ulong
GenerateSignature ( string baseUrl, NameValueCollection param, string consumerSecret, string tokenSecret ) : string
ParseQueryString ( string data ) : NameValueCollection
RandomInt64 ( ) : ulong
UrlDecode ( string data ) : string
UrlEncode ( string Input ) : string

Method Details

BuildOAuthHeader() public static method

public static BuildOAuthHeader ( NameValueCollection p ) : string
p System.Collections.Specialized.NameValueCollection
return string

BuildUrl() public static method

public static BuildUrl ( string baseUrl, NameValueCollection param ) : string
baseUrl string
param System.Collections.Specialized.NameValueCollection
return string

DownloadUrl() public static method

public static DownloadUrl ( string url ) : string
url string
return string

EpochNow() public static method

public static EpochNow ( ) : ulong
return ulong

GenerateSignature() public static method

public static GenerateSignature ( string baseUrl, NameValueCollection param, string consumerSecret, string tokenSecret ) : string
baseUrl string
param System.Collections.Specialized.NameValueCollection
consumerSecret string
tokenSecret string
return string

ParseQueryString() public static method

public static ParseQueryString ( string data ) : NameValueCollection
data string
return System.Collections.Specialized.NameValueCollection

RandomInt64() public static method

public static RandomInt64 ( ) : ulong
return ulong

UrlDecode() public static method

public static UrlDecode ( string data ) : string
data string
return string

UrlEncode() public static method

public static UrlEncode ( string Input ) : string
Input string
return string