Tyler Leonhardt
c935e2292f
rename forceRecreate to forceNewSession and allow it to take in a detail
2021-08-03 16:21:04 -07:00
Tyler Leonhardt
37687f06b6
add proposed forceRecreate option on getSession. Related to #129064
2021-07-20 16:09:36 -07:00
Tyler Leonhardt
ba01bbac9c
Remove deprecated auth API proposals. Fixes #127144
2021-07-08 10:38:23 -07:00
Tyler James Leonhardt
7f21b1af48
Revert "Allow extensions to create multiple sessions from the same provider ( #124640 )" ( #124705 )
...
This reverts commit a18ea9c9ec .
2021-05-26 10:42:20 -07:00
Tyler James Leonhardt
a18ea9c9ec
Allow extensions to create multiple sessions from the same provider ( #124640 )
2021-05-25 20:02:19 -07:00
Matt Bierner
24a23a8ea0
Mark array params in vscode.d.ts readonly ( #124599 )
...
I recently ran into an issue where I was trying to call showQuickPick with a readonly array. This is currently not allowed, even though `showQuickPick` never mutates the input
This change marks a few places in `vscode.d.ts` where we take arrays as parameters as `readonly []`. It also caught a potential bug with`getSession` modifying the input array
2021-05-25 18:18:47 -07:00
Rachel Macfarlane
250c7baf7e
Fix #117903
2021-03-08 17:00:43 -08:00
Sandeep Somavarapu
bc62648b05
Revert "Remove authentication provider package.json declaration"
...
This reverts commit 811dc8d45a .
2021-03-05 14:02:57 +01:00
Rachel Macfarlane
811dc8d45a
Remove authentication provider package.json declaration
2021-03-01 14:11:26 -08:00
Rachel Macfarlane
7f481d2fcc
Make added, removed, changed, optional in auth session change event, fixes #117469
2021-02-24 14:16:47 -08:00
Rachel Macfarlane
d131331195
Remove extra info from onDidChangeSessions event
2021-02-18 15:36:28 -08:00
Rachel Macfarlane
14669c2e45
Make scopes parameter optional to getSessions and remove getAllSessions
2021-02-12 09:13:11 -08:00
Rachel Macfarlane
eceff53351
Rename login/logout to createSession/removeSession
2021-02-11 16:46:47 -08:00
Rachel Macfarlane
650906c369
Pass scopes through to authentication providers
2021-02-11 14:15:36 -08:00
Rachel Macfarlane
5115a8eae7
Don't show a modal on 'getSession' for access requests if 'createIfNone' is false, fixes #111529
2021-02-03 09:58:29 -08:00
Rachel Macfarlane
c85297669e
Move id, label, and options to authentication provider registration
2021-01-11 10:53:17 -08:00
Rachel Macfarlane
7db413d4c1
Move secrets API to extension context
2021-01-04 22:04:40 -08:00
Rachel Macfarlane
4d8895c7b7
Just kidding, keep proposed onDidChangeAuthenticationProviders API for now
2021-01-04 17:01:25 -08:00
Rachel Macfarlane
9a9de2ad8b
Fix #109609 , auth dialog can't be shown again after cancel
2020-10-28 09:40:29 -07:00
Rachel Macfarlane
042095d937
Handle simultaneous getSession requests, fixes #106014
2020-10-21 08:44:59 -07:00
Rachel Macfarlane
31419adc34
Polish onDidChangePassword changes
2020-10-12 10:31:16 -07:00
Rachel Macfarlane
4c0811c9c2
Removing polling from auth extensions, fixes #107480
2020-10-09 16:33:53 -07:00
Rachel Macfarlane
dafce599a6
Add getPassword, setPassword, and deletePassword APIs, #95475
...
Co-authored-by: SteVen Batten <sbatten@microsoft.com >
2020-10-06 14:57:16 -07:00
Rachel Macfarlane
9cc09931cd
Fix #105895 , duplicate auth providers in vscode.authentication.providers
2020-09-02 13:55:43 -07:00
Rachel Macfarlane
650197b991
Add authentication contribution point, #103507
2020-08-27 11:51:18 -07:00
Rachel Macfarlane
7a4509a6ca
Allow passing empty options to getSession, fixes #104078
2020-08-05 10:48:20 -07:00
Rachel Macfarlane
c5ae1f3f45
Fix auth provider extension activation on getSession
2020-07-28 19:10:51 -07:00
Rachel Macfarlane
bb9c167ef2
Fix authentication sessions change event type
2020-07-28 11:30:19 -07:00
Rachel Macfarlane
357fe6956c
Ensure account preference set after login flow completes
2020-07-20 14:23:14 -07:00
Rachel Macfarlane
a8ee28deb9
Copy providers array before freezing in extHostAuthentication
2020-07-17 15:38:45 -07:00
Rachel Macfarlane
a155fcf762
Address feedback on auth provider API
2020-07-16 16:03:17 -07:00
Rachel Macfarlane
40324ee577
Auth provider tweaks, change types of change events
2020-07-10 10:49:10 -07:00
Rachel Macfarlane
348e2b4c6e
displayName -> label, use providerIds in favor of getProviderIds, #100993
2020-07-06 18:23:12 -07:00
Rachel Macfarlane
ab7a5ec3ad
Address part of feedback for #100993
2020-07-06 08:51:24 -07:00
Rachel Macfarlane
629e1d7e16
Remove old getSessions and login methods from auth provider API
2020-06-24 15:33:09 -07:00
Rachel Macfarlane
4f46398b7e
Send auth provider API calls through renderer when on remote
2020-05-19 17:46:36 -07:00
Rachel Macfarlane
d1a59226f2
Fix build
2020-05-19 16:58:38 -07:00
Rachel Macfarlane
87b0c54586
Make AuthenticationSession a class and remove getAccessToken method, fixes #91554
2020-05-15 14:34:04 -07:00
Rachel Macfarlane
10ed20c931
Doc updates for authentication providers
2020-05-13 17:26:23 -07:00
Rachel Macfarlane
d0a3feff23
Add account activity badge and sign in command for auth provider requests
2020-05-12 20:35:03 -07:00
Rachel Macfarlane
cbb0b04d7d
Add supportsMultipleAccounts to auth providers
2020-05-11 18:32:36 -07:00
Rachel Macfarlane
4a875e0d7c
Add getSession and hasSessions to authentication namespace
2020-05-11 18:32:36 -07:00
Rachel Macfarlane
cfc6a123e7
Add logout method to auth provider API
2020-04-28 17:33:35 -07:00
Rachel Macfarlane
2e5312cd61
Add account id to authentication session object
2020-04-22 18:00:16 -07:00
Rachel Macfarlane
87287d0275
Code cleanup, remove stuff related to sign in commands
2020-04-16 19:29:56 -07:00
Rachel Macfarlane
061f4967f9
Show sign in entry for all auth providers in accounts menu, fixes #94488
2020-04-13 14:28:07 -07:00
Rachel Macfarlane
335de3b713
Fixes #95020 , add extension to trusted list when confirming login
2020-04-11 13:27:24 -07:00
Rachel Macfarlane
ace72b77c5
Update trusted extensions flow again
2020-04-05 15:03:17 -07:00
Rachel Macfarlane
917c420302
Improvements to 'manage trusted extensions' flow
2020-04-01 23:13:50 -07:00
Rachel Macfarlane
852df3025d
Revert "Issue distinct sessions per extension, remove session when extension is removed from trusted list"
...
This reverts commit 85119afc7b .
2020-03-30 17:03:29 -07:00