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.OAuth.dll
Syntax
public enum AuthorizeModes
Fields
| Name | Description |
|---|---|
| Custom1 | Custom mode 1 |
| Custom2 | Custom mode 2 |
| EmbeddedBrowser | Should open an embedded _browser and catch the redirect |
| LocalhostServer | Used with a redirect URL to http://localhost:port, this is supported out of the box |
| 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 |
| 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 |
| Pin | Should ask the user to enter the PIN which is shown in the browser |
| TestPassThrough | Used with tests |
| Unknown | Default value, this will give an exception, caller needs to specify another value |