Class EmbeddedBrowserCodeReceiver
This will start an embedded browser to wait for the code
Inheritance
System.Object
EmbeddedBrowserCodeReceiver
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.HttpExtensions.OAuth.CodeReceivers
Assembly: Dapplo.HttpExtensions.OAuth.dll
Syntax
public class EmbeddedBrowserCodeReceiver : IOAuthCodeReceiver
Methods
| Improve this Doc View SourceReceiveCodeAsync(AuthorizeModes, ICodeReceiverSettings, CancellationToken)
Receive the code from an OAuth server
Declaration
public Task<IDictionary<string, string>> ReceiveCodeAsync(AuthorizeModes authorizeMode, ICodeReceiverSettings codeReceiverSettings, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthorizeModes | authorizeMode | AuthorizeModes |
ICodeReceiverSettings | codeReceiverSettings | ICodeReceiverSettings |
CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
Task<IDictionary<System.String, System.String>> | IDictionary with information |