WebAuthenticationResult
WebAuthenticationResult
WebAuthenticationResult
WebAuthenticationResult
Class
Definition
Indicates the result of the authentication operation.
public : sealed class WebAuthenticationResult : IWebAuthenticationResultpublic sealed class WebAuthenticationResult : IWebAuthenticationResultPublic NotInheritable Class WebAuthenticationResult Implements IWebAuthenticationResult// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
ResponseData ResponseData ResponseData ResponseData
Contains the protocol data when the operation successfully completes.
public : PlatForm::String ResponseData { get; }public string ResponseData { get; }Public ReadOnly Property ResponseData As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The returned data.
Remarks
When the WebAuthenticationOptions.UseTitle option is used, this property contains the value of the webpage title. The ResponseData for HTTP GET and HTTP redirects includes the entire URL. For POST, the data is the entity body.
- See Also
ResponseErrorDetail ResponseErrorDetail ResponseErrorDetail ResponseErrorDetail
Returns the HTTP error code when ResponseStatus is equal to WebAuthenticationStatus.ErrorHttp. This is only available if there is an error.
public : unsigned int ResponseErrorDetail { get; }public uint ResponseErrorDetail { get; }Public ReadOnly Property ResponseErrorDetail As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The specific HTTP error, for example 400.
- See Also
ResponseStatus ResponseStatus ResponseStatus ResponseStatus
Contains the status of the asynchronous operation when it completes.
public : WebAuthenticationStatus ResponseStatus { get; }public WebAuthenticationStatus ResponseStatus { get; }Public ReadOnly Property ResponseStatus As WebAuthenticationStatus// You can use this property in JavaScript.
- Value
- WebAuthenticationStatus WebAuthenticationStatus WebAuthenticationStatus WebAuthenticationStatus
One of the enumerations.
- See Also