API Reference
Class
OAuthLoginOptions
Options for the OAuth login flow.
Inheritance
- Object
- OAuthLoginOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 1
- Method OAuthLoginService.LoginAsync
Constructors
public OAuthLoginOptions(OAuthConfig config) #Initializes login options with the provided configuration.
Parameters
- config IntelligenceX.OpenAI.Auth.OAuthConfig
- OAuth configuration.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
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 Boolean UseLocalListener { get; set; } #Whether to use a local listener for the redirect.
public CancellationToken CancellationToken { get; set; } #Cancellation token for the login flow.