WebAccountProvider 类

定义

表示 Web 帐户身份验证提供程序。

public ref class WebAccountProvider sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Credentials.IWebAccountProviderFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WebAccountProvider final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Credentials.IWebAccountProviderFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebAccountProvider final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Credentials.IWebAccountProviderFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WebAccountProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Credentials.IWebAccountProviderFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebAccountProvider
function WebAccountProvider(id, displayName, iconUri)
Public NotInheritable Class WebAccountProvider
继承
Object Platform::Object IInspectable WebAccountProvider
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

版本历史记录

Windows 版本 SDK 版本 增值
1803 17134 IsSystemProvider

构造函数

WebAccountProvider(String, String, Uri)

创建 WebAccountProvider 类的实例。

属性

Authority

获取 Web 帐户提供程序的颁发机构。 使用授权来消除具有多个标识的单个提供程序之间的歧义 (,例如 Microsoft 帐户与 Azure Active Directory) 。

DisplayName

获取 Web 帐户提供程序的显示名称。

DisplayPurpose

获取 Web 帐户提供程序的显示目的。

IconUri

获取要为 Web 帐户提供程序显示的图标图像的 URI

Id

获取 Web 帐户提供程序 ID。

IsSystemProvider

获取值,该值描述给定 ID 提供程序是否支持系统范围的身份验证令牌。

User

获取与提供程序关联的用户。

适用于

另请参阅