Share via


WebTokenResponse Klasse

Definition

Stellt die Antwort eines Webkontoanbieters auf eine Webtokenanforderung dar.

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
Vererbung
Object Platform::Object IInspectable WebTokenResponse
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Konstruktoren

WebTokenResponse()

Initialisiert eine neue instance der WebTokenResponse-Klasse.

WebTokenResponse(String)

Initialisiert eine neue instance der WebTokenResponse-Klasse mit einer Eingabe.

WebTokenResponse(String, WebAccount)

Initialisiert eine neue instance der WebTokenResponse-Klasse mit zwei Eingaben.

WebTokenResponse(String, WebAccount, WebProviderError)

Initialisiert eine neue instance der WebTokenResponse-Klasse mit drei Eingaben.

Eigenschaften

Properties

Ruft die Eigenschaften der Antwort ab.

ProviderError

Ruft den vom Anbieter zurückgegebenen Fehler ab, falls vorhanden.

Token

Ruft das Authentifizierungstoken ab.

WebAccount

Ruft das Webkonto für die Anforderung ab.

Gilt für:

Weitere Informationen