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 SourceCustom1
Custom mode 1
Declaration
Custom1 = 6
Custom2
Custom mode 2
Declaration
Custom2 = 7
EmbeddedBrowser
Should open an embedded _browser and catch the redirect
Declaration
EmbeddedBrowser = 5
LocalhostServer
Used with a redirect URL to http://localhost:port, this is supported out of the box
Declaration
LocalhostServer = 1
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
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
Pin
Should ask the user to enter the PIN which is shown in the browser
Declaration
Pin = 4
Unknown
Default value, this will give an exception, caller needs to specify another value
Declaration
Unknown = 0