WebTokenRequestStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
AccountProviderNotAvailable | 4 | The account provider was not available. |
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. |
ProviderError | 5 | There was a provider error. For information on how to handle this error, consult the provider's documentation. |
Success | 0 | The request was successful. |
UserCancel | 1 | The request was cancelled by the user. |
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. |
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro