-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Test: Auth provider proposed API #89390
Comments
I tested the methods and API seemed to work well. One thing I thought of that may not be a concern is the |
Looks good overall! Although, I agree with @sbatten that Do you think it is worth Does Should the provider really have the I would also suggest that IMO,
|
Thanks for the great feedback! For
I'm starting to think login may need to take an options parameter that is defined as The rest of the suggestions sound good to me, I'll start creating some issue for them. |
Testing [https://github.com//issues/88309](Auth provider proposed api}
Complexity: 4
The proposal for the authentication provider API currently looks like:
vscode/src/vs/vscode.proposed.d.ts
Lines 21 to 60 in 8d36d09
This API enables two different use cases: I can write and register my own auth provider, or I can access existing auth providers and leverage them. The first part of this has been fairly well tested by work I've done for settings sync and for creating a GitHub provider. Please review this part of the API and give any feedback you have about it, but focus on testing using
authentication.providers
andauthentication.onDid[Un]RegisterAuthenticationProvider
events. A provider with id "MSA" which supplies the auth for settings sync should be available.Please test that
getSessions
orlogin
, a dialog asking for user consent is shownThe text was updated successfully, but these errors were encountered: