WebTokenRequestStatus
WebTokenRequestStatus
WebTokenRequestStatus
WebTokenRequestStatus
Enum
Definition
Represents the status of a web token request.
public : enum class WebTokenRequestStatuspublic enum WebTokenRequestStatusPublic Enum WebTokenRequestStatus// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| AccountProviderNotAvailable AccountProviderNotAvailable AccountProviderNotAvailable AccountProviderNotAvailable | The account provider was not available. |
| AccountSwitch AccountSwitch AccountSwitch AccountSwitch | 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. |
| ProviderError ProviderError ProviderError ProviderError | There was a provider error. For information on how to handle this error, consult the provider's documentation. |
| Success Success Success Success | The request was successful. |
| UserCancel UserCancel UserCancel UserCancel | The request was cancelled by the user. |
| UserInteractionRequired UserInteractionRequired UserInteractionRequired UserInteractionRequired | 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. |