IntelligenceX
Class

OAuthLoginOptions

Namespace IntelligenceX.OpenAI.Auth
Assembly IntelligenceX
Modifiers sealed

Options for the OAuth login flow.

Inheritance

  • Object
  • OAuthLoginOptions

Constructors

public OAuthLoginOptions(OAuthConfig config) #

Initializes login options with the provided configuration.

Parameters

config IntelligenceX.OpenAI.Auth.OAuthConfig
OAuth configuration.

Properties

public OAuthConfig Config { get; } #

Gets the OAuth configuration.

public Func<String, Task> OnAuthUrl { get; set; } #

Callback invoked with the authorization URL.

public Func<String, Task<String>> OnPrompt { get; set; } #

Callback used to prompt for user input.

public TimeSpan Timeout { get; set; } #

Overall timeout for the login flow.

public Boolean UseLocalListener { get; set; } #

Whether to use a local listener for the redirect.

public CancellationToken CancellationToken { get; set; } #

Cancellation token for the login flow.