From cf0eff4cbfc27b0b5e325ddc1d3c1af6a9cf0f98 Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik <41709775+kpajdzik@users.noreply.github.com> Date: Tue, 13 Nov 2018 11:08:20 -0800 Subject: [PATCH] Update missing references in samples (#34) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b64d551..24af530 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ All the authentication methods support callback as well as promise. IF they are ### username/password based login ```typescript -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; const username = process.env["AZURE_USERNAME"]; const password = process.env["AZURE_PASSWORD"]; @@ -21,7 +21,7 @@ msRestNodeAuth.loginWithUsernamePasswordWithAuthResponse(username, password).the ### service-principal/secret based login ```typescript -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; const clientId = process.env["CLIENT_ID"]; const secret = process.env["APPLICATION_SECRET"]; @@ -36,7 +36,7 @@ msRestNodeAuth.loginWithServicePrincipalSecretWithAuthResponse(clientId, secret, ### interactive/device-code flow login ```typescript -import * as msRestNodeAuth from "ms-rest-nodeauth"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; msRestNodeAuth.interactiveLoginWithAuthResponse().then((authres) => { console.dir(authres, { depth: null })