Improve this Doc View Source

Interface ICodeReceiverSettings

Settings interface the OAuth (2) protocol

Namespace:Dapplo.HttpExtensions.OAuth
Assembly:Dapplo.HttpExtensions.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; }
Returns
Type Description
System.Uri
| Improve this Doc View Source

ClientId

The OAuth (2) client id / consumer key

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

ClientSecret

The OAuth (2) client secret / consumer secret

Declaration
string ClientSecret { get; set; }
Returns
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; }
Returns
Type Description
System.String
| Improve this Doc View Source

EmbeddedBrowserHeight

The height of the embedded browser

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

EmbeddedBrowserWidth

The width of the embedded browser, default

Declaration
int EmbeddedBrowserWidth { get; set; }
Returns
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; }
Returns
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; }
Returns
Type Description
System.String