Skip to content

[🚀 Feature]: [dotnet] [bidi] Rework ContinueWithAuth method #15539

Closed
@nvborisenko

Description

@nvborisenko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions