Jaa


WebTokenRequestStatus Enum

Definition

Represents the status of a web token request.

public enum class WebTokenRequestStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WebTokenRequestStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WebTokenRequestStatus
var value = Windows.Security.Authentication.Web.Core.WebTokenRequestStatus.success
Public Enum WebTokenRequestStatus
Inheritance
WebTokenRequestStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Success 0

The request was successful.

UserCancel 1

The request was cancelled by the user.

AccountSwitch 2

The account associated with the request has switched. This status occurs when you attempt to use one web account, but the user indicates they wish to use a different web account instead.

UserInteractionRequired 3

User interaction is required to complete the request. This option is only applicable to requests made with GetTokenSilentlyAsync. If this status is returned, repeat the request with RequestTokenAsync.

AccountProviderNotAvailable 4

The account provider was not available.

ProviderError 5

There was a provider error. For information on how to handle this error, consult the provider's documentation.

Applies to

See also