Compartir a través de


WebTokenResponse Clase

Definición

Representa la respuesta de un proveedor de cuentas web a una solicitud de token web.

public ref class WebTokenResponse sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WebTokenResponse final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebTokenResponse final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WebTokenResponse
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebTokenResponseFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebTokenResponse
function WebTokenResponse(token, webAccount, error)
Public NotInheritable Class WebTokenResponse
Herencia
Object Platform::Object IInspectable WebTokenResponse
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 (se introdujo en la versión 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v1.0)

Constructores

WebTokenResponse()

Inicializa una nueva instancia de la clase WebTokenResponse .

WebTokenResponse(String)

Inicializa una nueva instancia de la clase WebTokenResponse con una entrada.

WebTokenResponse(String, WebAccount)

Inicializa una nueva instancia de la clase WebTokenResponse con dos entradas.

WebTokenResponse(String, WebAccount, WebProviderError)

Inicializa una nueva instancia de la clase WebTokenResponse con tres entradas.

Propiedades

Properties

Obtiene las propiedades de la respuesta.

ProviderError

Obtiene el error devuelto por el proveedor, si existe.

Token

Obtiene el token de autenticación.

WebAccount

Obtiene la cuenta web de la solicitud.

Se aplica a

Consulte también