-
Notifications
You must be signed in to change notification settings - Fork 28.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: Authentication provider registration API #117299
Comments
I successfully built an authentication provider for home assistant, it took me a while to understand how the API should be used but at the end it works pretty. Good work 🎉 . While building the authentication provider (even after building one successfully), I'm confused how and when to specify which home assistant instance should users authenticate against. It seems the only solution is the authentication provider provide a quick pick to users to let them to choose the endpoint to use, and also embed the endpoint/instance info in |
Refs: #88309
Complexity: 5
Create Issue
The milestone the
registerAuthenticationProvider
API and associated interfaces have been finalized.Please read through the docs in
vscode.d.ts
and verify the descriptions make sense. Then, try to implement and register anAuthenticationProvider
. If you're feeling extremely ambitious you could try to actually perform auth against a service, perhaps looking at the GitHub auth provider as an example. You could also simply create fake session data. The API should allow:vscode.authentication.getSession
getSessions
and thecreateIfNone
flagThe text was updated successfully, but these errors were encountered: