IntelligenceX
Interface

IAuthBundleStore

Namespace IntelligenceX.OpenAI.Auth
Assembly IntelligenceX
Modifiers abstract

Abstraction for storing authentication bundles.

Methods

public abstract Task<AuthBundle> GetAsync(String provider, String accountId = null, CancellationToken cancellationToken = null) #
Returns: Task<AuthBundle>

Retrieves a bundle for the specified provider and account.

Parameters

provider System.String
Provider identifier.
accountId System.String = null
Optional account id.
cancellationToken System.Threading.CancellationToken = null
Cancellation token.
public abstract Task SaveAsync(AuthBundle bundle, CancellationToken cancellationToken = null) #
Returns: Task

Saves an authentication bundle.

Parameters

bundle IntelligenceX.OpenAI.Auth.AuthBundle
Bundle to save.
cancellationToken System.Threading.CancellationToken = null
Cancellation token.