2023-11-28 23:50:50 -08:00
|
|
|
from typing import Optional
|
2023-04-06 15:34:57 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
from pydantic import BaseModel
|
2023-04-06 15:34:57 -07:00
|
|
|
|
|
|
|
from ..models.ai_plugin_auth_type import AiPluginAuthType
|
2023-05-04 00:58:06 -07:00
|
|
|
from ..models.ai_plugin_http_auth_type import AiPluginHttpAuthType
|
2023-04-06 15:34:57 -07:00
|
|
|
|
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
class AiPluginAuth(BaseModel):
|
|
|
|
"""AI plugin auth information."""
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
authorization_type: Optional[AiPluginHttpAuthType] = None
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
type: Optional[AiPluginAuthType] = None
|