Share via


WebTokenRequest Klasse

Definition

Stellt eine Anforderung an einen Onlineidentitätsanbieter für ein Authentifizierungstoken dar.

public ref class WebTokenRequest sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebTokenRequestFactory, 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 WebTokenRequest 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.Authentication.Web.Core.IWebTokenRequestFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebTokenRequest final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebTokenRequestFactory), 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 WebTokenRequest
[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.Authentication.Web.Core.IWebTokenRequestFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebTokenRequest
function WebTokenRequest(provider, scope, clientId, promptType)
Public NotInheritable Class WebTokenRequest
Vererbung
Object Platform::Object IInspectable WebTokenRequest
Attribute

Windows-Anforderungen

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

Hinweise

Versionsverlauf

Windows-Version SDK-Version Wertschöpfung
1511 10586 AppProperties
1703 15063 CorrelationId

Konstruktoren

WebTokenRequest(WebAccountProvider)

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

WebTokenRequest(WebAccountProvider, String)

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

WebTokenRequest(WebAccountProvider, String, String)

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

WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType)

Initialisiert eine neue instance der WebTokenRequest-Klasse mit vier Eingaben.

Eigenschaften

AppProperties

Ruft die App-Eigenschaften der Anforderung ab.

ClientId

Ruft die ID des Clients ab, der die Anforderung stellt.

CorrelationId

Ruft eine Korrelations-ID ab, einen eindeutigen Bezeichner, der zum Nachverfolgen authentifizierungsbezogener Anforderungen verwendet wird.

PromptType

Ruft den Eingabeaufforderungstyp der Anforderung ab.

Properties

Ruft die Eigenschaften der Anforderung ab.

Scope

Ruft den Bereich der Anforderung ab.

WebAccountProvider

Ruft den Webkontoanbieter für die Anforderung ab.

Gilt für:

Weitere Informationen