Condividi tramite


WebTokenResponse Classe

Definizione

Rappresenta la risposta da un provider di account Web a una richiesta di 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
Ereditarietà
Object Platform::Object IInspectable WebTokenResponse
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Costruttori

WebTokenResponse()

Inizializza una nuova istanza della classe WebTokenResponse .

WebTokenResponse(String)

Inizializza una nuova istanza della classe WebTokenResponse con un input.

WebTokenResponse(String, WebAccount)

Inizializza una nuova istanza della classe WebTokenResponse con due input.

WebTokenResponse(String, WebAccount, WebProviderError)

Inizializza una nuova istanza della classe WebTokenResponse con tre input.

Proprietà

Properties

Ottiene le proprietà della risposta

ProviderError

Ottiene l'errore restituito dal provider, se presente.

Token

Ottiene il token di autenticazione.

WebAccount

Ottiene l'account Web per la richiesta.

Si applica a

Vedi anche