Closed
Description
Feature and motivation
BiDi spec: https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth
network.ContinueWithAuth = (
method: "network.continueWithAuth",
params: network.ContinueWithAuthParameters
)
network.ContinueWithAuthParameters = {
request: network.Request,
(network.ContinueWithAuthCredentials // network.ContinueWithAuthNoCredentials)
}
network.ContinueWithAuthCredentials = (
action: "provideCredentials",
credentials: network.AuthCredentials
)
network.ContinueWithAuthNoCredentials = (
action: "default" / "cancel"
)
We can apply method overload here! The example is: #15533. It is good interpretation of CDDL to .NET.
Usage example
User will call one method ContinueWithAuthAsync(...)
as spec defines it, but with options how to proceed further.