共用方式為


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 帳戶提供者識別碼。

IsSystemProvider

取得值,這個值描述指定的識別碼提供者是否支援全系統驗證權杖。

User

取得與提供者相關聯的使用者。

適用於

另請參閱