Interface RerankingProviderAuthInfo

Information about a specific auth method, such as 'HEADER', 'SHARED_SECRET', or 'NONE' for a specific provider. See RerankingProviderInfo.supportedAuthentication for more information.

Example

// nvidia.supportedAuthentication.NONE:
{
enabled: true,
tokens: [],
}

Field

enabled - Whether this method of auth is supported for the provider.

Field

tokens - Additional info on how exactly this method of auth is supposed to be used.

See

RerankingProviderInfo

interface RerankingProviderAuthInfo {
    enabled: boolean;
    tokens: RerankingProviderTokenInfo[];
}

Properties

Properties

enabled: boolean

Whether this method of auth is supported for the provider.

Additional info on how exactly this method of auth is supposed to be used.

Will be an empty array if enabled is false.