Skip to content
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

Added the Azure.MixedReality.Authentication library #17571

Merged
8 commits merged into from
Dec 17, 2020

Conversation

craigktreasure
Copy link
Contributor

This change adds an authentication library for Mixed Reality services, which all currently utilize a custom STS for authentication. Upcoming Mixed Reality client libraries will depend on this library to perform authentication using identities from Azure.Identity. See the added README.md for more information about the library.

ApiView link

@ghost ghost added the Azure.Core label Dec 16, 2020
@craigktreasure craigktreasure changed the title Draft: Added the Azure.MixedReality.Authentication library Added the Azure.MixedReality.Authentication library Dec 16, 2020
@craigktreasure craigktreasure marked this pull request as ready for review December 16, 2020 17:38
Craig Treasure added 8 commits December 16, 2020 10:00
  - This change adds an authentication library for Mixed Reality services, which utilize a custom STS for authentication. Upcoming Mixed Reality client libraries will depend on this library to perform authentication using identities from Azure.Identity. See documentation for more information.
  - To simplify this particular library, we've decided to make the STS client an internal detail to other Mixed Reality clients. We're not going to expose a common credential and each of the clients will be responsible for exchanging the common `TokenCredential` types from Azure.Identity for a Mixed Reality access token using the `MixedRealityStsClient`.

using System.Diagnostics.CodeAnalysis;

[assembly: SuppressMessage("Usage", "AZC0001:Use one of the following pre-approved namespace groups (https://azure.github.io/azure-sdk/registered_namespaces.html): Azure.AI, Azure.Analytics, Azure.Communication, Azure.Data, Azure.DigitalTwins, Azure.Iot, Azure.Learn, Azure.Media, Azure.Management, Azure.Messaging, Azure.Search, Azure.Security, Azure.Storage, Azure.Template, Azure.Identity, Microsoft.Extensions.Azure", Justification = "<Pending>", Scope = "namespace", Target = "~N:Azure.MixedReality.Authentication")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlexGhiondea I forgot I had these suppressions. We'll be adding more clients to the Azure.MixedReality umbrella, so is it worth adding Azure.MixedReality to the list or would you prefer a different solution?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did have a discussion about this in the SDK API review and determined that the Azure.MixedReality name was necessary, so I don't expect we'll need to revisit that, but the tooling will need to be updated at some point.

@ghost
Copy link

ghost commented Dec 17, 2020

Hello @craigktreasure!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit f2dc485 into Azure:master Dec 17, 2020
@craigktreasure craigktreasure deleted the craig/mr-sts-sdk branch December 17, 2020 21:55
annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
This change adds an authentication library for Mixed Reality services, which all currently utilize a custom STS for authentication. Upcoming Mixed Reality client libraries will depend on this library to perform authentication using identities from Azure.Identity. See the added `README.md` for more information about the library.

[ApiView link](https://apiview.dev/Assemblies/Review/35afdb6afa874f6ab4caa1cfaf7a15cd)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants