Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit cf0eff4

Browse files
authored
Update missing references in samples (Azure#34)
1 parent 5d8c9b1 commit cf0eff4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ All the authentication methods support callback as well as promise. IF they are
77

88
### username/password based login
99
```typescript
10-
import * as msRestNodeAuth from "ms-rest-nodeauth";
10+
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
1111

1212
const username = process.env["AZURE_USERNAME"];
1313
const password = process.env["AZURE_PASSWORD"];
@@ -21,7 +21,7 @@ msRestNodeAuth.loginWithUsernamePasswordWithAuthResponse(username, password).the
2121

2222
### service-principal/secret based login
2323
```typescript
24-
import * as msRestNodeAuth from "ms-rest-nodeauth";
24+
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
2525

2626
const clientId = process.env["CLIENT_ID"];
2727
const secret = process.env["APPLICATION_SECRET"];
@@ -36,7 +36,7 @@ msRestNodeAuth.loginWithServicePrincipalSecretWithAuthResponse(clientId, secret,
3636

3737
### interactive/device-code flow login
3838
```typescript
39-
import * as msRestNodeAuth from "ms-rest-nodeauth";
39+
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
4040

4141
msRestNodeAuth.interactiveLoginWithAuthResponse().then((authres) => {
4242
console.dir(authres, { depth: null })

0 commit comments

Comments
 (0)