Skip to content

Conversation

@jobala
Copy link
Contributor

@jobala jobala commented Apr 28, 2020

Overview

Changes GraphSession to take in an Azure credential object and scopes.
Removes AuthProvider

Closes #44 #45 AB#4607

@jobala jobala requested a review from ddyett April 28, 2020 07:09
@ddyett
Copy link

ddyett commented Apr 28, 2020

def test_adds_middlewares_in_order(self):

we should probably have a test that the scopes are overriden when specified at request time.


Refers to: tests/unit/test_middleware_pipeline.py:8 in 4bc0cb8. [](commit_id = 4bc0cb8, deletion_comment = False)

```

Create an authorization provider object and a list of scopes
Pass the credential object and scopes to the GraphSession constructor.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a couple of the imports are no longer needed above on line 17.

@jobala jobala merged commit d49ea04 into dev May 1, 2020
@jobala jobala deleted the task/refactor-graph-session branch May 1, 2020 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pass a credential class to GraphSession instead of an auth provider

4 participants