Authentication

The BaaS Extension tool must be authenticated to the configured Tenant for performing service calls to the BaaS feature. The authentication sequence is done in a browser window. The default behavior is that whenever authentication is required the browser will be launched and the login sequence started. There are other ways to manually trigger a login. The behavior of the authentication can be configured in settings. See the section Tools/Developer/Settings.

The access token is associated with its Tenant, so switching between target Tenants in the tool maintains the current authentication state.

Activity Bar

The Visual Studio Code window has a vertical Activity Bar attached on the left- or right- side. Clicking the Accounts icon launches the login if BaaS Extension is active.

Status Bar

The Visual Studio Code window has a Status Bar at the bottom with a BaaS field. Click 'BaaS Login' to launch the login sequence. When authenticated, the text of the field changes to Auth: {tenant}.

BaaS Command

There is one Login command and one logout command in the BaaS Extension. Press F1 select 'BaaS: Login to API' Press F1 select 'BaaS: Logout from API'.