• 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

Interface ICodeReceiverSettings

Settings interface the OAuth (2) protocol

Namespace: Dapplo.HttpExtensions.OAuth
Assembly: Dapplo.HttpExtensions.OAuth.dll
Syntax
public interface ICodeReceiverSettings

Properties

| Improve this Doc View Source

AuthorizationUri

The autorization Uri where the values of this class will be "injected" Example how this can be created:

new Uri("http://server").AppendSegments("auth").Query("client_id", "{ClientId}");
Declaration
Uri AuthorizationUri { get; set; }
Property Value
Type Description
Uri
| Improve this Doc View Source

ClientId

The OAuth (2) client id / consumer key

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

ClientSecret

The OAuth (2) client secret / consumer secret The OAuth client/consumer secret For OAuth1SignatureTypes.RsaSha1 use RsaSha1Provider instead!

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

CloudServiceName

Specify the name of the cloud service, so it can be used in window titles, logs etc

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

EmbeddedBrowserHeight

This can be used to specify the height of the embedded browser window, default is 400

Declaration
int EmbeddedBrowserHeight { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

EmbeddedBrowserWidth

This can be used to specify the width of the embedded browser window, default is 600

Declaration
int EmbeddedBrowserWidth { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

RedirectUrl

This is the redirect URL, in some implementations this is automatically set (LocalServerCodeReceiver) In some implementations this could be e.g. urn:ietf:wg:oauth:2.0:oob or urn:ietf:wg:oauth:2.0:oob:auto

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

State

The OAuth (2) state, this is something that is passed to the server, is not processed but returned back to the client. e.g. a correlation ID Default this is filled with a new Guid

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

UiTaskScheduler

A TaskScheduler which is used to schedule tasks on the UI

Declaration
TaskScheduler UiTaskScheduler { get; set; }
Property Value
Type Description
TaskScheduler
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © Dapplo