OAuthAuthorizer
Assembly: ServiceStack.dll
View Source
Declaration
public class OAuthAuthorizer
Fields
OrderHeadersLexically
View Source
Declaration
public static bool OrderHeadersLexically
xAuthUsername
View Source
Declaration
public string xAuthUsername
xAuthPassword
View Source
Declaration
public string xAuthPassword
RequestToken
View Source
Declaration
public string RequestToken
RequestTokenSecret
View Source
Declaration
public string RequestTokenSecret
AuthorizationToken
View Source
Declaration
public string AuthorizationToken
AuthorizationVerifier
View Source
Declaration
public string AuthorizationVerifier
AccessToken
View Source
Declaration
public string AccessToken
AccessTokenSecret
View Source
Declaration
public string AccessTokenSecret
AuthInfo
View Source
Declaration
public Dictionary<string, string> AuthInfo
Methods
AcquireRequestToken()
View Source
Declaration
public bool AcquireRequestToken()
Returns
System.Boolean
AcquireAccessToken(String, String, String)
View Source
Declaration
public bool AcquireAccessToken(string requestTokenSecret, string authorizationToken, string authorizationVerifier)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | requestTokenSecret |
System.String | authorizationToken |
System.String | authorizationVerifier |
AuthorizeRequest(OAuthProvider, String, String, String, Uri, String)
View Source
Declaration
public static string AuthorizeRequest(OAuthProvider provider, string oauthToken, string oauthTokenSecret, string method, Uri uri, string data)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Auth.OAuthProvider | provider |
System.String | oauthToken |
System.String | oauthTokenSecret |
System.String | method |
System.Uri | uri |
System.String | data |
AuthorizeRequest(String, String, String, String, String, Uri, String)
View Source
Declaration
public static string AuthorizeRequest(string consumerKey, string consumerSecret, string oauthToken, string oauthTokenSecret, string method, Uri uri, string data)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | consumerKey |
System.String | consumerSecret |
System.String | oauthToken |
System.String | oauthTokenSecret |
System.String | method |
System.Uri | uri |
System.String | data |
AuthorizeTwitPic(OAuthProvider, HttpWebRequest, String, String)
View Source
Declaration
public static void AuthorizeTwitPic(OAuthProvider provider, HttpWebRequest wc, string oauthToken, string oauthTokenSecret)
Parameters
Type | Name |
---|---|
ServiceStack.Auth.OAuthProvider | provider |
System.Net.HttpWebRequest | wc |
System.String | oauthToken |
System.String | oauthTokenSecret |