OAuthLoginCallbacks
Namespace: E2E.OAuth
public sealed class OAuthLoginCallbacksHow a login flow talks to the terminal, or whatever hosts it.
Inheritance: object
Properties
Section titled “Properties”OnAuth
Section titled “OnAuth”public required Action<OAuthAuthInfo> OnAuth { get; init; }The URL to open and how to finish there. Called once per flow.
Value: Action<OAuthAuthInfo>
OnProgress
Section titled “OnProgress”public Action<string>? OnProgress { get; init; }Value: Action<string>
OnPrompt
Section titled “OnPrompt”public required Func<string, CancellationToken, Task<string>> OnPrompt { get; init; }Asks the user for text: the pasted code when the local callback never arrives.