Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
693e394
Start of ARR client.
matyrr-havok Feb 15, 2021
d801810
Add generated code
matyrr-havok Feb 15, 2021
f0a78e0
Better naming of generated structs.
matyrr-havok Feb 16, 2021
dda6082
Use sts SDK
matyrr-havok Feb 17, 2021
8dc25c9
Move files to the remoterendering SDK folder
matyrr-havok Feb 25, 2021
bb7b5c0
Some auth code.
matyrr-havok Feb 26, 2021
70c828a
More auth code
matyrr-havok Mar 2, 2021
6dbbc74
Use _ prefix for unused parameters.
matyrr-havok Mar 2, 2021
daa0020
Switch to non-preview API and rename classes
matyrr-havok Mar 4, 2021
b143113
Take latest generated code
matyrr-havok Mar 4, 2021
4d5c805
Customize conversion properties
matyrr-havok Mar 4, 2021
040d433
Rename some rendering properties
matyrr-havok Mar 4, 2021
296a2b8
Add getConversion method.
matyrr-havok Mar 5, 2021
1d046e0
Fix customizations.
matyrr-havok Mar 8, 2021
63d466a
Basic shape of conversion LRO
matyrr-havok Mar 8, 2021
6834381
Some rendering session methods
matyrr-havok Mar 9, 2021
880711a
Add comments.
matyrr-havok Mar 9, 2021
1bcaf52
Add remaining API methods
matyrr-havok Mar 9, 2021
10814ce
Fix iterator compile issue
matyrr-havok Mar 9, 2021
3299da6
Update todos
matyrr-havok Mar 9, 2021
c22a4ba
Fix comments
matyrr-havok Mar 10, 2021
3c53381
Use InMinutes as the time suffix.
matyrr-havok Mar 11, 2021
196bb1b
Distinguish between options and settings
matyrr-havok Mar 11, 2021
0e558c1
Add getPoller methods.
matyrr-havok Mar 11, 2021
3b01fd8
Use WithResponse.
matyrr-havok Mar 11, 2021
0fb5b9d
Latest changes
matyrr-havok Mar 31, 2021
14b34b9
Formattign
matyrr-havok Mar 31, 2021
02badcc
Update dependency versions
matyrr-havok Mar 31, 2021
cf239a5
Update to latest source
matyrr-havok Mar 31, 2021
6947313
Copy authenticationEndpoint.ts from auth lib.
matyrr-havok Mar 31, 2021
9d71f22
Remove comment
matyrr-havok Mar 31, 2021
88d0a2a
Flesh out conversion sample.
matyrr-havok Apr 1, 2021
08a5184
Formatting
matyrr-havok Apr 1, 2021
71d778b
Add test resources
matyrr-havok Apr 1, 2021
b2de38e
More conversion poller implementation.
matyrr-havok Apr 1, 2021
2273492
Switch to samples-dev
matyrr-havok Apr 12, 2021
db2cc66
Import UUID
matyrr-havok Apr 13, 2021
65a5556
Remove old samples
matyrr-havok Apr 13, 2021
8e28d73
More UUID package stuff
matyrr-havok Apr 13, 2021
5f23d36
Add try catch to beginConversion
matyrr-havok Apr 13, 2021
771188a
Fix trivial promises.
matyrr-havok Apr 13, 2021
2484ec8
Formatting.
matyrr-havok Apr 13, 2021
2304577
Formatting
matyrr-havok Apr 13, 2021
2f9c952
Make Trivial promises more correct.
matyrr-havok Apr 13, 2021
6d4b36b
Copy MixedRealityAccountKeyCredential from auth lib
matyrr-havok Apr 13, 2021
3630ecb
Conversion sample now working.
matyrr-havok Apr 13, 2021
932a3be
Session sample
matyrr-havok Apr 13, 2021
657eb33
listConversions
matyrr-havok Apr 13, 2021
0ef28d1
List sessions sample.
matyrr-havok Apr 14, 2021
766b076
UpdateSession
matyrr-havok Apr 14, 2021
88f5425
commonQueries for conversion
matyrr-havok Apr 14, 2021
1b97b95
commonQueries for sessions
matyrr-havok Apr 14, 2021
0de5b3a
Formatting
matyrr-havok Apr 14, 2021
2f91301
cancel for renderingsession lro
matyrr-havok Apr 14, 2021
ad29520
Formatting
matyrr-havok Apr 14, 2021
5f4062d
Start writing tests.
matyrr-havok Apr 14, 2021
bba0c6b
Conversion tests
matyrr-havok Apr 14, 2021
10cb13d
Formatting
matyrr-havok Apr 14, 2021
8b66610
Tidy samples
matyrr-havok Apr 16, 2021
42bcba1
Formatting
matyrr-havok Apr 16, 2021
8d54390
Remove WithResponse
matyrr-havok Apr 16, 2021
64bf323
Formatting
matyrr-havok Apr 16, 2021
4c06313
Add failure test
matyrr-havok Apr 16, 2021
5dc91ca
Allow options to specify poll period
matyrr-havok Apr 20, 2021
cd1c17b
Formatting
matyrr-havok Apr 20, 2021
a9e536f
initial migration to corev2
joheredi Apr 19, 2021
22701c2
Fix usage of new core pipeline
matyrr-havok Apr 21, 2021
4c7a0ec
Make AssetConversion interface more natural
matyrr-havok Apr 21, 2021
8433a96
Formatting
matyrr-havok Apr 21, 2021
95d76a4
Make RenderingSession more convenient
matyrr-havok Apr 21, 2021
98e1a4f
Formatting
matyrr-havok Apr 21, 2021
1f860a4
RenderingSession is now a tagged union
matyrr-havok Apr 22, 2021
55ca907
Use a tagged union for AssetConversion too.
matyrr-havok Apr 22, 2021
5bb841c
Formatting
matyrr-havok Apr 22, 2021
9e684ac
Ensure we don't take setting objects side-by-side
matyrr-havok Apr 22, 2021
8e27336
Formatting
matyrr-havok Apr 22, 2021
d55555d
Use an overload for resumeFrom
matyrr-havok Apr 26, 2021
bef9fde
Use an overload so beginSession can be resumed..
matyrr-havok Apr 26, 2021
6f7b54b
Formatting.
matyrr-havok Apr 26, 2021
2654316
expand PartialRenderingSessionProperties
matyrr-havok Apr 27, 2021
76a280e
Fix conversion tests.
matyrr-havok Apr 27, 2021
1ee646a
Formatting
matyrr-havok Apr 27, 2021
93bcb58
Add rendering session tests.
matyrr-havok Apr 27, 2021
3c0e302
Formatting
matyrr-havok Apr 27, 2021
63fc796
Post rebase fix
matyrr-havok Apr 28, 2021
912f6ea
Improve tests
matyrr-havok Apr 28, 2021
c694221
Formatting
matyrr-havok Apr 28, 2021
59ab237
Test improvements
matyrr-havok Apr 28, 2021
9710060
Add pipeline files.
matyrr-havok Apr 28, 2021
8932982
Karma fix
matyrr-havok Apr 28, 2021
11178fd
Add recordings from node
matyrr-havok Apr 28, 2021
148c9c1
Stop browser tests using dotenv.
matyrr-havok Apr 28, 2021
d697b74
New recordings.
matyrr-havok Apr 30, 2021
615dc0d
Sample and readme improvements
matyrr-havok Apr 30, 2021
6757a3d
Formatting
matyrr-havok Apr 30, 2021
9a3838c
Tweak to conversion samples.
matyrr-havok May 4, 2021
531ab34
Improve sample.env
matyrr-havok May 4, 2021
673a824
Fix credential bug
matyrr-havok May 5, 2021
315557f
Fix env variable names
matyrr-havok May 5, 2021
5c1cc56
Readme and sample improvements
matyrr-havok May 5, 2021
8b6fdff
Formatting
matyrr-havok May 6, 2021
75ff64f
Update pnpm-lock file
matyrr-havok May 6, 2021
52c4cda
Remove README-EXAMPLE.md
matyrr-havok May 6, 2021
a0ccdd2
Change pipeline definition
matyrr-havok May 7, 2021
da2f39b
ESLint fixes
matyrr-havok May 10, 2021
b0759a2
Formatting
matyrr-havok May 10, 2021
558fec9
API Changes
matyrr-havok May 10, 2021
dc3488a
updateSessionSettings
matyrr-havok May 10, 2021
4a72503
Copy other SDKs and stop the linter failing the pipeline
matyrr-havok May 12, 2021
de0a335
Changelog
matyrr-havok May 12, 2021
b71f65d
Move auth classes into src
matyrr-havok May 14, 2021
ce63e43
Hopefully fix failing tests
matyrr-havok May 14, 2021
53a0d47
Updated pnpm-lock.yaml
matyrr-havok May 14, 2021
cff9ca9
Ensure the update message is recorded.
matyrr-havok May 14, 2021
2cc4c2e
Experiment: Extend timeout
matyrr-havok May 17, 2021
3588f13
More balanced timeout
matyrr-havok May 17, 2021
ef290c9
Use isTokenCredential to disambiguate types.
matyrr-havok May 18, 2021
f6c122b
Formatting
matyrr-havok May 18, 2021
491f074
Some fixes from review.
matyrr-havok May 21, 2021
da65fdc
Formatting
matyrr-havok May 21, 2021
29a8179
Implement TODO around errors.
matyrr-havok May 21, 2021
a9e6702
Avoid exporting internal error.
matyrr-havok May 21, 2021
0089a0c
Formatting
matyrr-havok May 21, 2021
07e66fd
Update package name
matyrr-havok May 21, 2021
d5430dd
Mark many functions internal.
matyrr-havok May 21, 2021
baae52e
Document the undocumented.
matyrr-havok May 21, 2021
fba8dcb
Update package reference
matyrr-havok May 26, 2021
715fb18
Bring PR up-to-date
matyrr-havok Jun 25, 2021
a092f4f
Update sdk/remoterendering/mixedreality-remoterendering/README.md
matyrr-havok Jun 28, 2021
1211759
Update sdk/remoterendering/mixedreality-remoterendering/README.md
matyrr-havok Jun 28, 2021
322240a
Update sdk/remoterendering/mixedreality-remoterendering/README.md
matyrr-havok Jun 28, 2021
0faf6b0
Update sdk/remoterendering/mixedreality-remoterendering/README.md
matyrr-havok Jun 28, 2021
5883d7d
Update sdk/remoterendering/mixedreality-remoterendering/README.md
matyrr-havok Jun 28, 2021
8f33756
Update sdk/remoterendering/test-resources-post.ps1
matyrr-havok Jun 28, 2021
7c285b4
Update sdk/remoterendering/mixedreality-remoterendering/package.json
matyrr-havok Jun 28, 2021
46d27d7
Update sdk/remoterendering/mixedreality-remoterendering/package.json
matyrr-havok Jun 28, 2021
a4492d0
Update sdk/remoterendering/mixedreality-remoterendering/swagger/READM…
matyrr-havok Jun 28, 2021
4f82797
README improvements
matyrr-havok Jun 28, 2021
dc70edc
Don't use const enum
matyrr-havok Jun 28, 2021
5d66bc6
Restore corev2 generation
matyrr-havok Jun 28, 2021
4cca4b6
No need for null check.
matyrr-havok Jun 28, 2021
864bd7b
Linter fixes
matyrr-havok Jun 28, 2021
ff92d21
new API
matyrr-havok Jun 28, 2021
375ec1f
typescript: true
matyrr-havok Jun 28, 2021
8df3421
Linter fixes
matyrr-havok Jun 28, 2021
78a9399
Formatting
matyrr-havok Jun 29, 2021
c9fae2f
Switch linting on
matyrr-havok Jun 29, 2021
9cb4cc7
Merge commit 'f854a850e08eca14391a5156ed58710b8151878f' into MalcolmT…
matyrr-havok Jun 29, 2021
c818029
Merge latest
matyrr-havok Jun 29, 2021
a8049cb
Include pnpm-lock.yaml
matyrr-havok Jun 29, 2021
454601f
Some fixes from review
matyrr-havok Jun 30, 2021
6ed8428
Error constructor
matyrr-havok Jun 30, 2021
bc2fd78
More review comments.
matyrr-havok Jun 30, 2021
c345b38
Formatting
matyrr-havok Jun 30, 2021
5819fc3
No need for AccountKeyCredential.
matyrr-havok Jul 1, 2021
c734638
No need to export the class.
matyrr-havok Jul 1, 2021
de40b7c
No longer require an accountDomain in the AccessToken scenario
matyrr-havok Jul 1, 2021
8f13c63
Formatting
matyrr-havok Jul 1, 2021
fb17ed0
Update docs
matyrr-havok Jul 1, 2021
a80e23c
Merge commit '9b75850ed47e248a89bd64ad7135bd7447a0c130' into MalcolmT…
matyrr-havok Jul 1, 2021
dbb4007
Drop expectDefinedFromService.ts
matyrr-havok Jul 1, 2021
a7d03c9
Fixes
matyrr-havok Jul 2, 2021
ea6e04c
Fix playback tests.
matyrr-havok Jul 5, 2021
8e0b5ed
Fix
matyrr-havok Jul 5, 2021
abd7be3
Lint fix
matyrr-havok Jul 5, 2021
070491e
Rename sdk to mixed-reality-remote-rendering
matyrr-havok Jul 7, 2021
a6a6c19
Adapt STS to new naming scheme
matyrr-havok Jul 7, 2021
af47b82
Remove unneeded file
matyrr-havok Jul 7, 2021
611ea5d
Merge commit '66efb34e09ec4c58b024c895442c70a882fc0c77' into MalcolmT…
matyrr-havok Jul 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 52 additions & 6 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions dataplane.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@
"path": "sdk/digitaltwins/digital-twins-core"
},
{
"name": "mixedreality-authentication",
"path": "sdk/mixedreality/mixedreality-authentication"
"name": "mixed-reality-authentication",
"path": "sdk/mixedreality/mixed-reality-authentication"
},
{
"name": "attestation",
Expand All @@ -277,6 +277,10 @@
},
{
"path": "sdk/web-pubsub/web-pubsub-express"
},
{
"name": "mixed-reality-remote-rendering",
"path": "sdk/remoterendering/mixed-reality-remote-rendering"
}
],
"settings": {
Expand Down
9 changes: 7 additions & 2 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,8 @@
"versionPolicyName": "test"
},
{
"packageName": "@azure/mixedreality-authentication",
"projectFolder": "sdk/mixedreality/mixedreality-authentication",
"packageName": "@azure/mixed-reality-authentication",
"projectFolder": "sdk/mixedreality/mixed-reality-authentication",
"versionPolicyName": "client"
},
{
Expand Down Expand Up @@ -789,6 +789,11 @@
"packageName": "@azure-tests/perf-app-configuration",
"projectFolder": "sdk/appconfiguration/perf-tests/app-configuration",
"versionPolicyName": "test"
},
{
"packageName": "@azure/mixed-reality-remote-rendering",
"projectFolder": "sdk/remoterendering/mixed-reality-remote-rendering",
"versionPolicyName": "client"
}
]
}
2 changes: 1 addition & 1 deletion sdk/mixedreality/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ extends:
parameters:
ServiceDirectory: mixedreality
Artifacts:
- name: azure-mixedreality-authentication
- name: azure-mixed-reality-authentication
safeName: azuremixedrealityauthentication
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ token service (STS) for authentication. This package supports exchanging Mixed R
token from the STS that can be used to access Mixed Reality services.

Key links:
- [Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/)
- [Package (NPM)](https://www.npmjs.com/package/@azure/mixedreality-authentication)
- [API reference documentation](https://aka.ms/azsdk/js/mixedreality-authentication/docs)
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/samples)
- [Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixed-reality-authentication/) |
- [Package (NPM)](https://www.npmjs.com/package/@azure/mixed-reality-authentication) |
- [API reference documentation](https://aka.ms/azsdk/js/mixed-reality-authentication/docs) |
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixed-reality-authentication/samples)

![Mixed Reality service authentication diagram](https://docs.microsoft.com/azure/spatial-anchors/concepts/media/spatial-anchors-authentication-overview.png)

Expand All @@ -26,12 +26,12 @@ Key links:
- [Azure Spatial Anchors](https://docs.microsoft.com/azure/spatial-anchors/)
- Familiarity with the authentication and credential concepts from the [Azure Identity library][azure_identity].

### Install the `@azure/mixedreality-authentication` package
### Install the `@azure/mixed-reality-authentication` package

Install the Azure Mixed Reality Authentication client library for JavaScript with `npm`:

```bash
npm install @azure/mixedreality-authentication
npm install @azure/mixed-reality-authentication
```

### Create and authenticate a `MixedRealityStsClient`
Expand Down Expand Up @@ -63,7 +63,7 @@ Once you have an account key, you can use the `AzureKeyCredential` class to auth
```js
const { AzureKeyCredential } = require("@azure/core-auth");

const { MixedRealityStsClient } = require("@azure/mixedreality-authentication");
const { MixedRealityStsClient } = require("@azure/mixed-reality-authentication");

const accountId = "<ACCOUNTD ID>";
const accountDomain = "<ACCOUNT_DOMAIN>";
Expand Down Expand Up @@ -96,7 +96,7 @@ Set the values of the client ID, tenant ID, and client secret of the AAD applica
`AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

```js
const { MixedRealityStsClient } = require("@azure/mixedreality-authentication");
const { MixedRealityStsClient } = require("@azure/mixed-reality-authentication");
const { DefaultAzureCredential } = require("@azure/identity");

const client = new MixedRealityStsClient(accountId, accountDomain, new DefaultAzureCredential());
Expand All @@ -122,7 +122,7 @@ The return value for a successful call to `getToken` is an `GetTokenResponse`, w
```js
const { AzureKeyCredential } = require("@azure/core-auth");

const { MixedRealityStsClient } = require("@azure/mixedreality-authentication");
const { MixedRealityStsClient } = require("@azure/mixed-reality-authentication");

const accountId = "<ACCOUNTD ID>";
const accountDomain = "<ACCOUNT_DOMAIN>";
Expand Down Expand Up @@ -175,7 +175,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
## Next steps

Please take a look at the
[samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/samples)
[samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixed-reality-authentication/samples)
directory for detailed examples on how to use this library.

## Contributing
Expand Down Expand Up @@ -207,4 +207,4 @@ build and test the code.
[register_aad_app]: https://docs.microsoft.com/azure/spatial-anchors/concepts/authentication
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%mixedreality%2Fmixedreality-authentication%2FREADME.png)
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%mixedreality%2Fmixed-reality-authentication%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/mixedreality-authentication.d.ts"
"publicTrimmedFilePath": "./types/mixed-reality-authentication.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@azure/mixedreality-authentication",
"name": "@azure/mixed-reality-authentication",
"version": "1.0.0-beta.1",
"description": "Azure client library for Mixed Reality authentication.",
"sdk-type": "client",
Expand All @@ -8,7 +8,7 @@
"browser": {
"./dist-esm/test/utils/env.js": "./dist-esm/test/utils/env.browser.js"
},
"types": "types/mixedreality-authentication.d.ts",
"types": "types/mixed-reality-authentication.d.ts",
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
Expand All @@ -26,7 +26,7 @@
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}/*.spec.js\"",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint package.json tsconfig.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
"lint": "eslint package.json tsconfig.json api-extractor.json src test --ext .ts -f html -o mixedreality-authentication-lintReport.html || exit 0",
"lint": "eslint package.json tsconfig.json api-extractor.json src test --ext .ts -f html -o mixed-reality-authentication-lintReport.html || exit 0",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
Expand All @@ -40,14 +40,14 @@
"files": [
"dist/",
"dist-esm/src/",
"types/mixedreality-authentication.d.ts",
"types/mixed-reality-authentication.d.ts",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "github:Azure/azure-sdk-for-js",
"directory": "sdk/mixedreality/mixedreality-authentication"
"directory": "sdk/mixedreality/mixed-reality-authentication"
},
"engines": {
"node": ">=12.0.0"
Expand All @@ -63,7 +63,7 @@
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/",
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixed-reality-authentication/",
"sideEffects": false,
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## API Report File for "@azure/mixedreality-authentication"
## API Report File for "@azure/mixed-reality-authentication"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { AzureKeyCredential } from "@azure/core-auth";
import { MixedRealityStsClient } from "@azure/mixedreality-authentication";
import { MixedRealityStsClient } from "@azure/mixed-reality-authentication";

// Load the .env file if it exists
import * as dotenv from "dotenv";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ products:
- azure
- azure-remote-rendering
- azure-spatial-anchors
urlFragment: mixedreality-authentication-javascript
urlFragment: mixed-reality-authentication-javascript
---

# Azure Mixed Reality Authentication client library samples for JavaScript
Expand Down Expand Up @@ -63,10 +63,10 @@ npx cross-env MIXEDREALITY_ACCOUNT_DOMAIN="<mixedreality account domain>" MIXEDR

Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.

[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/getToken.js
[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixed-reality-authentication/samples/v1/javascript/getToken.js
[apiref]: https://docs.microsoft.com/javascript/api/
[freesub]: https://azure.microsoft.com/free/
[createinstance_azureobjectanchorsaccount]: https://docs.microsoft.com/azure/object-anchors/quickstarts/get-started-model-conversion#create-an-object-anchors-account
[createinstance_azureremoterenderingaccount]: https://docs.microsoft.com/azure/remote-rendering/quickstarts/convert-model#azure-setup
[createinstance_azurespatialanchorsaccount]: https://docs.microsoft.com/azure/spatial-anchors/quickstarts/get-started-hololens?tabs=azure-portal#create-a-spatial-anchors-resource
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/README.md
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixed-reality-authentication/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

const { AzureKeyCredential } = require("@azure/core-auth");
const { MixedRealityStsClient } = require("@azure/mixedreality-authentication");
const { MixedRealityStsClient } = require("@azure/mixed-reality-authentication");

// Load the .env file if it exists
const dotenv = require("dotenv");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "azure-mixedreality-authentication-samples-js",
"name": "azure-mixed-reality-authentication-samples-js",
"private": true,
"version": "1.0.0",
"description": "Azure Mixed Reality Authentication client library samples for JavaScript",
Expand All @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/azure-sdk-for-js.git",
"directory": "sdk/mixedreality/mixedreality-authentication"
"directory": "sdk/mixedreality/mixed-reality-authentication"
},
"keywords": [
"azure",
Expand All @@ -22,9 +22,9 @@
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixed-reality-authentication",
"dependencies": {
"@azure/mixedreality-authentication": "next",
"@azure/mixed-reality-authentication": "next",
"dotenv": "latest",
"@azure/core-auth": "^1.3.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ products:
- azure
- azure-remote-rendering
- azure-spatial-anchors
urlFragment: mixedreality-authentication-typescript
urlFragment: mixed-reality-authentication-typescript
---

# Azure Mixed Reality Authentication client library samples for TypeScript
Expand Down Expand Up @@ -75,11 +75,11 @@ npx cross-env MIXEDREALITY_ACCOUNT_DOMAIN="<mixedreality account domain>" MIXEDR

Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.

[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/src/getToken.ts
[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixed-reality-authentication/samples/v1/typescript/src/getToken.ts
[apiref]: https://docs.microsoft.com/javascript/api/
[freesub]: https://azure.microsoft.com/free/
[createinstance_azureobjectanchorsaccount]: https://docs.microsoft.com/azure/object-anchors/quickstarts/get-started-model-conversion#create-an-object-anchors-account
[createinstance_azureremoterenderingaccount]: https://docs.microsoft.com/azure/remote-rendering/quickstarts/convert-model#azure-setup
[createinstance_azurespatialanchorsaccount]: https://docs.microsoft.com/azure/spatial-anchors/quickstarts/get-started-hololens?tabs=azure-portal#create-a-spatial-anchors-resource
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/README.md
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixed-reality-authentication/README.md
[typescript]: https://www.typescriptlang.org/docs/home.html
Loading