Improve this Doc View Source

Class OAuth1Settings

Settings for the OAuth protocol, if possible this should not be used and OAuth 2.0 is a better choice

Inheritance
System.Object
OAuth1Settings
Namespace:Dapplo.HttpExtensions.OAuth
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class OAuth1Settings : BaseOAuthSettings, ICodeReceiverSettings

Properties

| Improve this Doc View Source

AccessTokenMethod

Declaration
public HttpMethod AccessTokenMethod { get; set; }
Returns
Type Description
System.Net.Http.HttpMethod
| Improve this Doc View Source

AccessTokenUrl

The URL to get an access token

Declaration
public Uri AccessTokenUrl { get; set; }
Returns
Type Description
System.Uri
| Improve this Doc View Source

AuthorizeToken

OAuth authorize token

Declaration
public string AuthorizeToken { get; }
Returns
Type Description
System.String
| Improve this Doc View Source

CheckVerifier

If this is set, the value of the verifier will be validated (not null)

Declaration
public bool CheckVerifier { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

RequestToken

OAuth request token

Declaration
public string RequestToken { get; }
Returns
Type Description
System.String
| Improve this Doc View Source

RequestTokenSecret

OAuth request token secret

Declaration
public string RequestTokenSecret { get; }
Returns
Type Description
System.String
| Improve this Doc View Source

SignatureType

The type of signature that is used, mostly this is HMacSha1

Declaration
public OAuth1SignatureTypes SignatureType { get; set; }
Returns
Type Description
OAuth1SignatureTypes
| Improve this Doc View Source

Token

The actualy token information, placed in an interface for usage with the Dapplo.Config project the OAuthToken, a default implementation is assigned when the settings are created. When using a Dapplo.Config IIniSection for your settings, this property can/should be overwritten with an instance of your interface by makeing it extend IOAuthToken

Declaration
public IOAuth1Token Token { get; set; }
Returns
Type Description
IOAuth1Token
| Improve this Doc View Source

TokenMethod

Declaration
public HttpMethod TokenMethod { get; set; }
Returns
Type Description
System.Net.Http.HttpMethod