Class
OAuthLoginOptions
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.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.