TokenFailureKind 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.
An enum that specifies the kind of token failure that occurred.
public enum class TokenFailureKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Security.Authentication.OAuth.OAuthContract, 65536)]
enum class TokenFailureKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Security.Authentication.OAuth.OAuthContract), 65536)]
public enum TokenFailureKind
var value = Microsoft.Security.Authentication.OAuth.TokenFailureKind.errorResponse
Public Enum TokenFailureKind
- Inheritance
-
TokenFailureKind
- Attributes
Fields
Name | Value | Description |
---|---|---|
ErrorResponse | 0 | The server responded with an error response as described by RFC 6749 section 5.2. This means that the failure object has an |
HttpFailure | 1 | The HTTP POST request failed. See the |
InvalidResponse | 2 | The server responded, but its response was improperly formatted. This could be that the server did not send the response as JSON, the response JSON string was improperly formatted, or the response JSON contained unexpected object types (e.g. a number when a string is expected, etc.). |