Interface ICredentials
- Namespace
- GenerativeAI.Core
- Assembly
- GenerativeAI.dll
Defines a contract for credential validation. Implementing classes must provide a mechanism to validate credentials required for API usage or authentication.
public interface ICredentials
- Extension Methods
Methods
ValidateCredentials()
Validates the credentials for authentication or API usage.
void ValidateCredentials()
Exceptions
- Exception
Thrown when the credentials are invalid or incomplete.