@@ -87,8 +87,6 @@ def __init__(
87
87
open_id_metadata : str = None ,
88
88
channel_provider : ChannelProvider = None ,
89
89
auth_configuration : AuthenticationConfiguration = None ,
90
- certificate_thumbprint : str = None ,
91
- certificate_private_key : str = None ,
92
90
app_credentials : AppCredentials = None ,
93
91
credential_provider : CredentialProvider = None ,
94
92
):
@@ -107,19 +105,14 @@ def __init__(
107
105
:param open_id_metadata:
108
106
:type open_id_metadata: str
109
107
:param channel_provider: The channel provider
110
- :type channel_provider: :class:`botframework.connector.auth.ChannelProvider`
108
+ :type channel_provider: :class:`botframework.connector.auth.ChannelProvider`. Defaults to SimpleChannelProvider
109
+ if one isn't specified.
111
110
:param auth_configuration:
112
111
:type auth_configuration: :class:`botframework.connector.auth.AuthenticationConfiguration`
113
- :param certificate_thumbprint: X509 thumbprint
114
- :type certificate_thumbprint: str
115
- :param certificate_private_key: X509 private key
116
- :type certificate_private_key: str
117
-
118
- .. remarks::
119
- For credentials authorization, both app_id and app_password are required.
120
- For certificate authorization, app_id, certificate_thumbprint, and certificate_private_key are required.
121
-
112
+ :param credential_provider: Defaults to SimpleCredentialProvider if one isn't specified.
113
+ :param app_credentials: Allows for a custom AppCredentials. Used, for example, for CertificateAppCredentials.
122
114
"""
115
+
123
116
self .app_id = app_id
124
117
self .app_password = app_password
125
118
self .app_credentials = app_credentials
@@ -134,8 +127,6 @@ def __init__(
134
127
else SimpleCredentialProvider (self .app_id , self .app_password )
135
128
)
136
129
self .auth_configuration = auth_configuration or AuthenticationConfiguration ()
137
- self .certificate_thumbprint = certificate_thumbprint
138
- self .certificate_private_key = certificate_private_key
139
130
140
131
# If no open_id_metadata values were passed in the settings, check the
141
132
# process' Environment Variable.
0 commit comments