• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.HttpExtensions
    • AuthorizationExtensions
    • HttpBehaviour
    • HttpBehaviourExtensions
    • HttpClientExtensions
    • HttpContentExtensions
    • HttpExtensionsGlobals
    • HttpRequestMessageConfiguration
    • HttpRequestMessageExtensions
    • HttpResponse
    • HttpResponse<TResponse, TErrorResponse>
    • HttpResponse<TResponse>
    • HttpResponseMessageExtensions
    • HttpResponseWithError<TErrorResponse>
    • IChangeableHttpBehaviour
    • IHttpBehaviour
    • IHttpContentConverter
    • IHttpRequestConfiguration
    • IHttpSettings
    • IJsonSerializer
    • MiscExtensions
    • UriActionExtensions
    • UriModifyExtensions
    • UriParseExtensions
  • Dapplo.HttpExtensions.ContentConverter
    • ByteArrayHttpContentConverter
    • DefaultJsonHttpContentConverter
    • DefaultJsonHttpContentConverterConfiguration
    • FormUriEncodedContentConverter
    • StreamHttpContentConverter
    • StringConfiguration
    • StringHttpContentConverter
    • SyndicationFeedHttpContentConverter
    • XDocumentHttpContentConverter
  • Dapplo.HttpExtensions.Extensions
    • EnumExtensions
    • HttpBehaviourExtensions
    • StringExtensions
    • TypeExtensions
  • Dapplo.HttpExtensions.Factory
    • HttpClientFactory
    • HttpContentFactory
    • HttpMessageHandlerFactory
    • HttpRequestMessageFactory
    • WebProxyFactory
  • Dapplo.HttpExtensions.JsonNet
    • JsonNetJsonSerializer
    • ReadOnlyConsideringContractResolver
  • Dapplo.HttpExtensions.JsonSimple
    • DataContractJsonSerializerStrategy
    • DefaultJsonHttpContentConverter
    • IJsonSerializerStrategy
    • JsonExtensionDataAttribute
    • PocoJsonSerializerStrategy
    • SimpleJson
    • SimpleJsonSerializer
  • Dapplo.HttpExtensions.Listener
    • HttpListenerContextExtensions
    • ListenerPortExtensions
    • UriHttpListenerExtensions
  • Dapplo.HttpExtensions.OAuth
    • AuthorizeModes
    • BaseOAuthSettings
    • GrantTypes
    • ICodeReceiverSettings
    • IOAuth1Token
    • IOAuth2Token
    • IOAuthCodeReceiver
    • OAuth1HttpBehaviour
    • OAuth1HttpBehaviourFactory
    • OAuth1HttpMessageHandler
    • OAuth1Parameters
    • OAuth1RequestConfiguration
    • OAuth1Settings
    • OAuth1SignatureTransports
    • OAuth1SignatureTypes
    • OAuth1Token
    • OAuth2HttpBehaviourFactory
    • OAuth2HttpMessageHandler
    • OAuth2Settings
    • OAuth2TokenResponse
    • OAuthExtensions
  • Dapplo.HttpExtensions.OAuth.CodeReceivers
    • EmbeddedBrowserCodeReceiver
  • Dapplo.HttpExtensions.OAuth.Desktop
    • OAuthLoginForm
  • Dapplo.HttpExtensions.Support
    • HttpPartAttribute
    • HttpParts
    • HttpRequestAttribute
    • HttpResponseAttribute
    • HttpSettings
    • MediaTypes
    • ProgressStream
    • ProgressStreamReport
  • Dapplo.HttpExtensions.SystemTextJson
    • SystemTextJsonSerializer
  • Dapplo.HttpExtensions.WinForms.ContentConverter
    • BitmapConfiguration
    • BitmapHttpContentConverter
  • Dapplo.HttpExtensions.Wpf.ContentConverter
    • BitmapSourceConfiguration
    • BitmapSourceHttpContentConverter

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
BaseOAuthSettings
OAuth1Settings
Implements
ICodeReceiverSettings
Inherited Members
BaseOAuthSettings.AdditionalAttributes
BaseOAuthSettings.AuthorizeMode
BaseOAuthSettings.Lock
BaseOAuthSettings.TokenUrl
BaseOAuthSettings.AuthorizationUri
BaseOAuthSettings.RedirectUrl
BaseOAuthSettings.CloudServiceName
BaseOAuthSettings.ClientId
BaseOAuthSettings.ClientSecret
BaseOAuthSettings.State
BaseOAuthSettings.EmbeddedBrowserWidth
BaseOAuthSettings.EmbeddedBrowserHeight
BaseOAuthSettings.UiTaskScheduler
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.HttpExtensions.OAuth
Assembly: Dapplo.HttpExtensions.OAuth.dll
Syntax
public class OAuth1Settings : BaseOAuthSettings, ICodeReceiverSettings

Properties

| Improve this Doc View Source

AccessTokenMethod

The HttpMethod which is used for getting the access token

Declaration
public HttpMethod AccessTokenMethod { get; set; }
Property Value
Type Description
HttpMethod
| Improve this Doc View Source

AccessTokenUrl

The URL to get an access token

Declaration
public Uri AccessTokenUrl { get; set; }
Property Value
Type Description
Uri
| Improve this Doc View Source

AuthorizeToken

OAuth authorize token

Declaration
public string AuthorizeToken { get; }
Property Value
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; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RequestToken

OAuth request token

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

RequestTokenSecret

OAuth request token secret

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

RsaSha1Provider

For OAuth1SignatureTypes.RsaSha1 set this

Declaration
public RSACryptoServiceProvider RsaSha1Provider { get; set; }
Property Value
Type Description
System.Security.Cryptography.RSACryptoServiceProvider
| Improve this Doc View Source

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
| Improve this Doc View Source

SignatureType

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

Declaration
public OAuth1SignatureTypes SignatureType { get; set; }
Property Value
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; }
Property Value
Type Description
IOAuth1Token
| Improve this Doc View Source

TokenMethod

The HttpMethod which is used for getting the token

Declaration
public HttpMethod TokenMethod { get; set; }
Property Value
Type Description
HttpMethod

Implements

ICodeReceiverSettings
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © Dapplo