Improve this Doc View Source

Enum AuthorizeModes

Specify the autorize mode that is used to get the token from the cloud service. Some details are described here: https://developers.google.com/identity/protocols/OAuth2InstalledApp You can register your implementations with the OAuthHttpMessageHandler Currently only a LocalServer is in this project

Namespace:Dapplo.HttpExtensions.OAuth
Assembly:Dapplo.HttpExtensions.dll
Syntax
public enum AuthorizeModes

Fields

| Improve this Doc View Source

Custom1

Custom mode 1

Declaration
Custom1 = 6
| Improve this Doc View Source

Custom2

Custom mode 2

Declaration
Custom2 = 7
| Improve this Doc View Source

EmbeddedBrowser

Should open an embedded _browser and catch the redirect

Declaration
EmbeddedBrowser = 5
| Improve this Doc View Source

LocalhostServer

Used with a redirect URL to http://localhost:port, this is supported out of the box

Declaration
LocalhostServer = 1
| Improve this Doc View Source

OutOfBound

This mode should show a popup where the user can paste the code, this is used with a redirect_uri of: urn:ietf:wg:oauth:2.0:oob

Declaration
OutOfBound = 2
| Improve this Doc View Source

OutOfBoundAuto

This mode should monitor for title changes, used with a redirect_uri of: urn:ietf:wg:oauth:2.0:oob:auto Dapplo.Windows has possibilities to monitor titles, this could be used for an implementation

Declaration
OutOfBoundAuto = 3
| Improve this Doc View Source

Pin

Should ask the user to enter the PIN which is shown in the browser

Declaration
Pin = 4
| Improve this Doc View Source

Unknown

Default value, this will give an exception, caller needs to specify another value

Declaration
Unknown = 0