WebTokenRequest WebTokenRequest WebTokenRequest WebTokenRequest WebTokenRequest Class

Definition

Represents a request to an online identity provider for an authentication token.

public : sealed class WebTokenRequest
struct winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest
public sealed class WebTokenRequest
Public NotInheritable Class WebTokenRequest
var webTokenRequest = new webTokenRequest(provider, scope);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Version history

Windows version SDK version Value added
1511 10586 AppProperties
1703 15063 CorrelationId

Constructors

WebTokenRequest(WebAccountProvider) WebTokenRequest(WebAccountProvider) WebTokenRequest(WebAccountProvider) WebTokenRequest(WebAccountProvider) WebTokenRequest(WebAccountProvider)

Initializes a new instance of the WebTokenRequest class with one input.

WebTokenRequest(WebAccountProvider, String) WebTokenRequest(WebAccountProvider, String) WebTokenRequest(WebAccountProvider, String) WebTokenRequest(WebAccountProvider, String) WebTokenRequest(WebAccountProvider, String)

Initializes a new instance of the WebTokenRequest class with two inputs.

WebTokenRequest(WebAccountProvider, String, String) WebTokenRequest(WebAccountProvider, String, String) WebTokenRequest(WebAccountProvider, String, String) WebTokenRequest(WebAccountProvider, String, String) WebTokenRequest(WebAccountProvider, String, String)

Initializes a new instance of the WebTokenRequest class with three inputs.

WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType) WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType) WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType) WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType) WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType)

Initializes a new instance of the WebTokenRequest class with four inputs.

Properties

AppProperties AppProperties AppProperties AppProperties AppProperties

Gets the app properties of the request.

ClientId ClientId ClientId ClientId ClientId

Gets the Id of the client making the request.

CorrelationId CorrelationId CorrelationId CorrelationId CorrelationId

Gets and sets a correlation Id, a unique identifier used for tracking authentication-related requests.

PromptType PromptType PromptType PromptType PromptType

Gets the prompt type of the request.

Properties Properties Properties Properties Properties

Gets the properties of the request.

Scope Scope Scope Scope Scope

Gets the scope of the request.

WebAccountProvider WebAccountProvider WebAccountProvider WebAccountProvider WebAccountProvider

Gets the web account provider for the request.

See also