[Hosted] AAD implementation for item operations (#643)

This commit is contained in:
Zachary Foster
2021-05-18 18:59:09 -04:00
committed by GitHub
parent 48eeb8419d
commit 2bc298fef1
12 changed files with 42 additions and 22 deletions

View File

@@ -83,6 +83,7 @@ async function configureHostedWithAAD(config: AAD, explorerParams: ExplorerParam
updateUserContext({
authType: AuthType.AAD,
authorizationToken: `Bearer ${config.authorizationToken}`,
aadToken: config.aadToken,
});
const account = config.databaseAccount;
const accountResourceId = account.id;