Rename method assertValidActivity to assert_valid_activity
@@ -9,7 +9,7 @@ from .microsoft_app_credentials import MicrosoftAppCredentials
class JwtTokenValidation:
@staticmethod
- async def assertValidActivity(activity, authHeader, credentials):
+ async def assert_valid_activity(activity, authHeader, credentials):
"""Validates the security tokens required by the Bot Framework Protocol. Throws on any exceptions.
activity: The incoming Activity from the Bot Framework or the Emulator
authHeader:The Bearer token included as part of the request
