GetUserAADTokenParams Class
Parameters for getting AAD tokens for a user.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Constructor
GetUserAADTokenParams(*, userId: str, connectionName: str, resourceUrls: List[str], channelId: Literal['webchat', 'msteams'] | str, **extra_data: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
userId
Required
|
|
|
connectionName
Required
|
|
|
resourceUrls
Required
|
|
|
channelId
Required
|
|
Attributes
channel_id
The channel ID.
channel_id: Literal['webchat', 'msteams'] | str
connection_name
The connection name.
connection_name: str
model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
model_config: ClassVar[ConfigDict] = {'alias_generator': AliasGenerator(alias=None, validation_alias=<staticmethod(<function CustomBaseModel.validation_alias_generator>)>, serialization_alias=<staticmethod(<function CustomBaseModel.serialization_alias_generator>)>), 'arbitrary_types_allowed': True, 'extra': 'allow', 'populate_by_name': True, 'serialize_by_alias': True, 'validate_by_alias': True, 'validate_by_name': True}
resource_urls
The resource URLs.
resource_urls: List[str]
user_id
The user ID.
user_id: str