File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ def __init__(self, **kwargs):
43
43
def create_with_default_middleware (self , credential : TokenCredential , ** kwargs ) -> Session :
44
44
"""Applies the default middleware chain to the HTTP Client
45
45
46
- :param credential: Accesstoken used to access the Graph API. Created through one of the
47
- credential classes from `azure.identity`
46
+ :param credential: TokenCredential used to acquire an access token for the Microsoft
47
+ Graph API. Created through one of the credential classes from `azure.identity`
48
48
"""
49
49
middleware = [
50
50
AuthorizationHandler (credential , ** kwargs ),
Original file line number Diff line number Diff line change 11
11
class GraphClient :
12
12
"""Constructs a custom HTTPClient to be used for requests against Microsoft Graph
13
13
14
- :keyword credential: Accesstoken used to access the Graph API. Created through one of the
15
- credential classes from `azure.identity`
14
+ :keyword credential: TokenCredential used to acquire an access token for the Microsoft
15
+ Graph API. Created through one of the credential classes from `azure.identity`
16
16
:keyword list middleware: Custom middleware(HTTPAdapter) list that will be used to create
17
17
a middleware pipeline. The middleware should be arranged in the order in which they will
18
18
modify the request.
You can’t perform that action at this time.
0 commit comments