Class OAuth1Settings
Settings for the OAuth protocol, if possible this should not be used and OAuth 2.0 is a better choice
Implements
Inherited Members
Namespace: Dapplo.HttpExtensions.OAuth
Assembly: Dapplo.HttpExtensions.OAuth.dll
Syntax
public class OAuth1Settings : BaseOAuthSettings, ICodeReceiverSettings
Properties
| Improve this Doc View SourceAccessTokenMethod
The HttpMethod which is used for getting the access token
Declaration
public HttpMethod AccessTokenMethod { get; set; }
Property Value
Type | Description |
---|---|
HttpMethod |
AccessTokenUrl
The URL to get an access token
Declaration
public Uri AccessTokenUrl { get; set; }
Property Value
Type | Description |
---|---|
Uri |
AuthorizeToken
OAuth authorize token
Declaration
public string AuthorizeToken { get; }
Property Value
Type | Description |
---|---|
System.String |
CheckVerifier
If this is set, the value of the verifier will be validated (not null)
Declaration
public bool CheckVerifier { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RequestToken
OAuth request token
Declaration
public string RequestToken { get; }
Property Value
Type | Description |
---|---|
System.String |
RequestTokenSecret
OAuth request token secret
Declaration
public string RequestTokenSecret { get; }
Property Value
Type | Description |
---|---|
System.String |
RsaSha1Provider
For OAuth1SignatureTypes.RsaSha1 set this
Declaration
public RSACryptoServiceProvider RsaSha1Provider { get; set; }
Property Value
Type | Description |
---|---|
System.Security.Cryptography.RSACryptoServiceProvider |
SignatureTransport
This defines the transport "way" which the OAuth signature takes. Default is OAuth1SignatureTransports.Headers, which is normal, but SOME systems want the information in the query parameters. (An example is Atlassians Confluence)
Declaration
public OAuth1SignatureTransports SignatureTransport { get; set; }
Property Value
Type | Description |
---|---|
OAuth1SignatureTransports |
SignatureType
The type of signature that is used, mostly this is HMacSha1
Declaration
public OAuth1SignatureTypes SignatureType { get; set; }
Property Value
Type | Description |
---|---|
OAuth1SignatureTypes |
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; }
Property Value
Type | Description |
---|---|
IOAuth1Token |
TokenMethod
The HttpMethod which is used for getting the token
Declaration
public HttpMethod TokenMethod { get; set; }
Property Value
Type | Description |
---|---|
HttpMethod |