Skip to content

OAuthLoginOptions

Namespace: E2E.OAuth

public sealed class OAuthLoginOptions

The e2e login flags; each provider reads the ones meant for it.

Inheritance: object

View source

public string? ClientId { get; init; }

GitHub Copilot: the client id of your GitHub OAuth App with the device flow enabled.

Value: string

View source

public bool Device { get; init; }

ChatGPT: print a code for another device instead of opening the browser.

Value: bool

View source

public string? EnterpriseUrl { get; init; }

GitHub Copilot: github.example.com for GitHub Enterprise.

Value: string

View source

public bool FromGitHubCli { get; init; }

GitHub Copilot: reuse gh auth token even when a client id is given.

Value: bool

View source