DeviceAccountAuthenticationType 枚举

定义

指定身份验证的类型。

public enum class DeviceAccountAuthenticationType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class DeviceAccountAuthenticationType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum DeviceAccountAuthenticationType
var value = Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountAuthenticationType.basic
Public Enum DeviceAccountAuthenticationType
继承
DeviceAccountAuthenticationType
属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
应用功能
userDataAccountsProvider

字段

Basic 0

使用包含用户名和密码的 base64 编码字符串。

OAuth 1

使用 OAuth 进行身份验证。

SingleSignOn 2

使用单一登录进行身份验证。

适用于