uap:WebAccountProvider (Windows 10)

声明 类型为 windows.webAccountProvider 的应用扩展点。

元素层次结构

<包>

    <应用程序>

         <应用程序>

              <扩展>

                   <uap:Extension>

                        <uap:WebAccountProvider>

语法

<uap:WebAccountProvider
    Url = 'A string with a value between 1 and 32767 characters in length in the form of a valid web url.'
    BackgroundEntryPoint = 'A string with a value between 1 and 256 characters in length, representing the task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type.'
 >

  <!-- Child elements -->
  uap:ManagedUrls?

</uap:WebAccountProvider>

密钥

? 可选 (零个或一个)

特性和元素

属性

属性 说明 数据类型 必须 默认值
Url web 帐户提供程序标识符 (URL) 。 应为有效的 HTTPS URL。 用于在从应用调用时唯一标识提供程序。 长度介于 1 到 32767 个字符之间的字符串,格式为有效的 Web URL。
BackgroundEntryPoint 无 UI 获取令牌请求的入口点。 一个字符串,其值长度在 1 到 256 个字符之间,表示处理扩展的任务。 这通常是 Windows 运行时类型的完全命名空间限定名称。

子元素

子元素 描述
uap:ManagedUrls 提供对多个 URL 的支持。 允许插件指定可向其发送 Cookie 的多个 URL。

父元素

父元素 描述
uap:Extension 声明应用的扩展点。

示例

<Extension
    Category="windows.webAccountProvider">
    <WebAccountProvider
        Url="https://login.live.com"
        BackgroundEntryPoint="MSA.WebAccountProviderTask"/>
</Extension>

要求

Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
Minimum OS Version Windows 10版本 1511 (内部版本 10586)