如何使用通知中心 REST 接口

 <_caps3a_sxs _xmlns3a_caps="https://schemas.microsoft.com/build/caps/2013/11"><_caps3a_sxstarget locale="zh-CN">本部分介绍如何使用 Azure 通知中心 REST Api 来管理注册和发送通知。通知中心使用相同的安全基础结构 Microsoft Azure Service Bus, ,并因此支持 Microsoft Azure Active Directory 访问控制(也称为访问控制服务或 ACS)。 本节侧重于共享访问机密身份验证 (SAS) 的访问的通知中心的最常见形式。Microsoft 已经提供了封装了 REST API 中的.NET 包装 Microsoft.Azure.NotificationHubs.NotificationHubClienthttps://msdn.microsoft.com/en-us/library/azure/microsoft.azure.notificationhubs.notificationhubclient.aspx (NuGet 程序包) 程序集。 在这种情况下,本部分重点介绍 Java 和 Javascript 客户端。本节内容Common Concepts Using REST APIs from a Backend Using REST APIs from the Device <_caps3a_sxssource locale="en-US">This section describes how to use the Azure Notification Hubs REST APIs to send notifications and manage registrations.Notification Hubs use the same security infrastructure as Microsoft Azure Service Bus, and thus supports Microsoft Azure Active Directory 访问控制(也称为访问控制服务或 ACS). This section focuses on Shared Access Secret authentication (SAS) as the most common form of accessing Notification Hubs.Microsoft already provides a .NET wrapper around the REST API in the Microsoft.Azure.NotificationHubs.NotificationHubClienthttps://msdn.microsoft.com/en-us/library/azure/microsoft.azure.notificationhubs.notificationhubclient.aspx (NuGet package) assembly. As such, this section focuses on Java and Javascript clients.In this sectionCommon Concepts Using REST APIs from a Backend Using REST APIs from the Device