WebTokenResponse
WebTokenResponse
WebTokenResponse
WebTokenResponse
Class
Definition
Represents the response from a web account provider to a web token request.
public : sealed class WebTokenResponse : IWebTokenResponsepublic sealed class WebTokenResponse : IWebTokenResponsePublic NotInheritable Class WebTokenResponse Implements IWebTokenResponse// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
WebTokenResponse() WebTokenResponse() WebTokenResponse() WebTokenResponse()
Initializes a new instance of the WebTokenResponse class.
public : WebTokenResponse()public WebTokenResponse()Public Sub New()// You can use this method in JavaScript.
WebTokenResponse(String) WebTokenResponse(String) WebTokenResponse(String) WebTokenResponse(String)
Initializes a new instance of the WebTokenResponse class with one input.
public : WebTokenResponse(PlatForm::String token)public WebTokenResponse(String token)Public Sub New(token As String)// You can use this method in JavaScript.
- token
- PlatForm::String String String String
The token.
WebTokenResponse(String, WebAccount) WebTokenResponse(String, WebAccount) WebTokenResponse(String, WebAccount) WebTokenResponse(String, WebAccount)
Initializes a new instance of the WebTokenResponse class with two inputs.
public : WebTokenResponse(PlatForm::String token, WebAccount webAccount)public WebTokenResponse(String token, WebAccount webAccount)Public Sub New(token As String, webAccount As WebAccount)// You can use this method in JavaScript.
- token
- PlatForm::String String String String
The token.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The WebAccount.
- See Also
-
WebTokenResponse(String, WebAccount, WebProviderError) WebTokenResponse(String, WebAccount, WebProviderError) WebTokenResponse(String, WebAccount, WebProviderError) WebTokenResponse(String, WebAccount, WebProviderError)
Initializes a new instance of the WebTokenResponse class with three inputs.
public : WebTokenResponse(PlatForm::String token, WebAccount webAccount, WebProviderError error)public WebTokenResponse(String token, WebAccount webAccount, WebProviderError error)Public Sub New(token As String, webAccount As WebAccount, error As WebProviderError)// You can use this method in JavaScript.
- token
- PlatForm::String String String String
The token.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The WebAccount.
The web provider error.
- See Also
Properties
Properties Properties Properties Properties
Gets the properties of the response
public : IMap<string, string> Properties { get; }public IDictionary<string, string> Properties { get; }Public ReadOnly Property Properties As IDictionary<string, string>// You can use this property in JavaScript.
- Value
- IMap<PlatForm::String, PlatForm::String> IDictionary<string, string> IDictionary<string, string> IDictionary<string, string>
The properties of the response.
Remarks
The properties of a web token response are specific to individual providers. For more information on how to use them, consult the provider's documentation.
- See Also
ProviderError ProviderError ProviderError ProviderError
Gets the error returned by the provider, if any.
public : WebProviderError ProviderError { get; }public WebProviderError ProviderError { get; }Public ReadOnly Property ProviderError As WebProviderError// You can use this property in JavaScript.
The error returned by the provider.
- See Also
Token Token Token Token
Gets the authentication token.
public : PlatForm::String Token { get; }public string Token { get; }Public ReadOnly Property Token As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The authentication token.
- See Also