Bagikan melalui


WebAccountProvider Kelas

Definisi

Mewakili penyedia autentikasi akun 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
Warisan
Object Platform::Object IInspectable WebAccountProvider
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Riwayat versi

Versi Windows Versi SDK Nilai ditambahkan
1803 17134 IsSystemProvider

Konstruktor

WebAccountProvider(String, String, Uri)

Membuat instans kelas WebAccountProvider .

Properti

Authority

Mendapatkan otoritas penyedia akun web. Gunakan otoritas untuk membedakan antara satu penyedia dengan beberapa identitas (seperti akun Microsoft versus Azure Active Directory).

DisplayName

Mendapatkan nama tampilan untuk penyedia akun web.

DisplayPurpose

Mendapatkan tujuan tampilan penyedia akun web.

IconUri

Mendapatkan Uri gambar ikon yang akan ditampilkan untuk penyedia akun web.

Id

Mendapatkan id penyedia akun web.

IsSystemProvider

Mendapatkan nilai yang menjelaskan apakah penyedia ID yang diberikan mendukung token autentikasi di seluruh sistem.

User

Mendapatkan pengguna yang terkait dengan penyedia.

Berlaku untuk

Lihat juga