Sets the authentication context for the user in the VS Code global state.
This stores the user session and authentication status for extension-wide access.
The user object to store in global state, or undefined to clear authentication.
undefined
An object containing an optional error message.
Sets the authentication context for the user in the VS Code global state.
This stores the user session and authentication status for extension-wide access.