Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.13 KB

File metadata and controls

43 lines (34 loc) · 2.13 KB

PatchedTelegramSourceRequest

Source Serializer

Properties

Name Type Description Notes
name str Source's display Name. [optional]
slug str Internal source name, used in URLs. [optional]
enabled bool [optional]
authentication_flow str Flow to use when authenticating existing users. [optional]
enrollment_flow str Flow to use when enrolling new users. [optional]
user_property_mappings List[str] [optional]
group_property_mappings List[str] [optional]
policy_engine_mode PolicyEngineMode [optional]
user_matching_mode UserMatchingModeEnum How the source determines if an existing user should be authenticated or a new user enrolled. [optional]
user_path_template str [optional]
bot_username str Telegram bot username [optional]
bot_token str Telegram bot token [optional]
request_message_access bool Request access to send messages from your bot. [optional]
pre_authentication_flow str Flow used before authentication. [optional]

Example

from authentik_client.models.patched_telegram_source_request import PatchedTelegramSourceRequest

# TODO update the JSON string below
json = "{}"
# create an instance of PatchedTelegramSourceRequest from a JSON string
patched_telegram_source_request_instance = PatchedTelegramSourceRequest.from_json(json)
# print the JSON string representation of the object
print(PatchedTelegramSourceRequest.to_json())

# convert the object into a dict
patched_telegram_source_request_dict = patched_telegram_source_request_instance.to_dict()
# create an instance of PatchedTelegramSourceRequest from a dict
patched_telegram_source_request_from_dict = PatchedTelegramSourceRequest.from_dict(patched_telegram_source_request_dict)

[Back to Model list] [Back to API list] [Back to README]