Interface
IAuthBundleStore
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:
TaskSaves an authentication bundle.
Parameters
- bundle IntelligenceX.OpenAI.Auth.AuthBundle
- Bundle to save.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.