forked from microsoft/BotBuilder-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
21 lines (16 loc) · 642 Bytes
/
config.py
File metadata and controls
21 lines (16 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python3
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import os
class DefaultConfig:
""" Bot Configuration """
PORT = 39783
APP_ID = os.environ.get(
"MicrosoftAppId", "TODO: Add here the App ID for the skill bot"
)
APP_PASSWORD = os.environ.get(
"MicrosoftAppPassword", "TODO: Add here the App Password for the skill bot"
)
# Callers to only those specified, '*' allows any caller.
# Example: os.environ.get("AllowedCallers", ["aaaaaa-1111-1111-1111-aaaaaaaaaa"])
ALLOWED_CALLERS = os.environ.get("AllowedCallers", ["*"])