Bagikan melalui


WebTokenResponse Kelas

Definisi

Mewakili respons dari penyedia akun web ke permintaan token web.

public ref class WebTokenResponse sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory, 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 WebTokenResponse 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(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebTokenResponse final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory), 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 WebTokenResponse
[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(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebTokenResponse
function WebTokenResponse(token, webAccount, error)
Public NotInheritable Class WebTokenResponse
Warisan
Object Platform::Object IInspectable WebTokenResponse
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Konstruktor

WebTokenResponse()

Menginisialisasi instans baru kelas WebTokenResponse .

WebTokenResponse(String)

Menginisialisasi instans baru kelas WebTokenResponse dengan satu input.

WebTokenResponse(String, WebAccount)

Menginisialisasi instans baru kelas WebTokenResponse dengan dua input.

WebTokenResponse(String, WebAccount, WebProviderError)

Menginisialisasi instans baru kelas WebTokenResponse dengan tiga input.

Properti

Properties

Mendapatkan properti respons

ProviderError

Mendapatkan kesalahan yang dikembalikan oleh penyedia, jika ada.

Token

Mendapatkan token autentikasi.

WebAccount

Mendapatkan akun web untuk permintaan tersebut.

Berlaku untuk

Lihat juga