-
Notifications
You must be signed in to change notification settings - Fork 8
/
anonymous_authentication_provider.py
31 lines (24 loc) · 1.07 KB
/
anonymous_authentication_provider.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All Rights Reserved.
# Licensed under the MIT License.
# See License in the project root for license information.
# ------------------------------------------------------------------------------
from typing import Any, Dict
from ..request_information import RequestInformation
from .authentication_provider import AuthenticationProvider
class AnonymousAuthenticationProvider(AuthenticationProvider):
"""This authentication provider does not perform any authentication
Args:
AuthenticationProvider (ABC): The abstract base class that this class implements
"""
async def authenticate_request(
self,
request: RequestInformation,
additional_authentication_context: Dict[str, Any] = {}
) -> None:
"""Authenticates the provided request information
Args:
request (RequestInformation): Request information object
additional_authentication_context (dict):
"""
return