WebTokenRequest WebTokenRequest WebTokenRequest WebTokenRequest WebTokenRequest Class

Definition

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

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

Windows 10 requirements

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

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