-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[msal-common family][#3] Utilize ScopeSet across the library #1770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Generates a request with the default scopes. | ||
* @param request | ||
*/ | ||
protected generateUrlRequest(request: AuthorizationUrlRequest): AuthorizationUrlRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not duplicate this code here (ln 134-175) and device code request in PublicClientApplication.
Consider creating ScopeSet and passing in as part of ClientConfiguration or creating a parent class for requests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This PR does the following:
fromCache
to the AuthenticationResult