-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove references to deprecated service Azure Spatial Anchors #43991
base: main
Are you sure you want to change the base?
Conversation
Thank you for your contribution @pamistel! We will review the pull request and get back to you soon. |
API change check API changes are not detected in this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For mgmt SDK, removing the sample does not remove the API in code (and they are automatically generated upon your Swagger).
Please schedule an update on your specs sources https://github.com/Azure/azure-rest-api-specs/tree/main/specification/mixedreality/resource-manager
and then request a new SDK release.
#### Using the access token in a Mixed Reality client library | ||
|
||
Some Mixed Reality client libraries might accept an access token in place of a credential. For example: | ||
|
||
```java | ||
// getMixedRealityAccessTokenFromWebService is a hypothetical method that retrieves | ||
// a Mixed Reality access token from a web service. The web service would use the | ||
// MixedRealityStsClient and credentials to obtain an access token to be returned | ||
// to the client. | ||
AccessToken accessToken = getMixedRealityAccessTokenFromWebService(); | ||
|
||
SpatialAnchorsAccount account = new SpatialAnchorsAccount(accountId, accountDomain); | ||
SpatialAnchorsClient client = new SpatialAnchorsClient(account, accessToken); | ||
``` | ||
|
||
Note: The `SpatialAnchorsClient` usage above is hypothetical and may not reflect the actual library. Consult the | ||
documentation for the client library you're using to determine if and how this might be supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Removing the sample does not remove the API.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines