WebProviderTokenRequest WebProviderTokenRequest WebProviderTokenRequest WebProviderTokenRequest Class

Definition

Represents a request for a token from a client to a provider.

public : sealed class WebProviderTokenRequest : IWebProviderTokenRequest, IWebProviderTokenRequest2public sealed class WebProviderTokenRequest : IWebProviderTokenRequest, IWebProviderTokenRequest2Public NotInheritable Class WebProviderTokenRequest Implements IWebProviderTokenRequest, IWebProviderTokenRequest2// 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

ApplicationCallbackUri ApplicationCallbackUri ApplicationCallbackUri ApplicationCallbackUri

Gets the app callback Uri.

public : Uri ApplicationCallbackUri { get; }public Uri ApplicationCallbackUri { get; }Public ReadOnly Property ApplicationCallbackUri As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

The app callback Uri.

ClientRequest ClientRequest ClientRequest ClientRequest

Gets the web token request made by the client.

public : WebTokenRequest ClientRequest { get; }public WebTokenRequest ClientRequest { get; }Public ReadOnly Property ClientRequest As WebTokenRequest// You can use this property in JavaScript.
Value
WebTokenRequest WebTokenRequest WebTokenRequest WebTokenRequest

The web token request made by the client.

WebAccounts WebAccounts WebAccounts WebAccounts

Gets the web accounts for the request.

public : IVectorView<WebAccount> WebAccounts { get; }public IReadOnlyList<WebAccount> WebAccounts { get; }Public ReadOnly Property WebAccounts As IReadOnlyList<WebAccount>// You can use this property in JavaScript.
Value
IVectorView<WebAccount> IReadOnlyList<WebAccount> IReadOnlyList<WebAccount> IReadOnlyList<WebAccount>

The web accounts for the request.

WebAccountSelectionOptions WebAccountSelectionOptions WebAccountSelectionOptions WebAccountSelectionOptions

Gets the web account selection options.

public : WebAccountSelectionOptions WebAccountSelectionOptions { get; }public WebAccountSelectionOptions WebAccountSelectionOptions { get; }Public ReadOnly Property WebAccountSelectionOptions As WebAccountSelectionOptions// You can use this property in JavaScript.

Methods

GetApplicationTokenBindingKeyAsync(TokenBindingKeyType, Uri) GetApplicationTokenBindingKeyAsync(TokenBindingKeyType, Uri) GetApplicationTokenBindingKeyAsync(TokenBindingKeyType, Uri) GetApplicationTokenBindingKeyAsync(TokenBindingKeyType, Uri)

Gets a token binding key for the app asynchronously.

public : IAsyncOperation<CryptographicKey> GetApplicationTokenBindingKeyAsync(TokenBindingKeyType keyType, Uri target)public IAsyncOperation<CryptographicKey> GetApplicationTokenBindingKeyAsync(TokenBindingKeyType keyType, Uri target)Public Function GetApplicationTokenBindingKeyAsync(keyType As TokenBindingKeyType, target As Uri) As IAsyncOperation( Of CryptographicKey )// You can use this method in JavaScript.
Parameters
target
Uri Uri Uri Uri

The target Uri.

Returns

GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType, Uri) GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType, Uri) GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType, Uri) GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType, Uri)

Gets an app token binding key Id.

public : IAsyncOperation<IBuffer> GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType keyType, Uri target)public IAsyncOperation<IBuffer> GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType keyType, Uri target)Public Function GetApplicationTokenBindingKeyIdAsync(keyType As TokenBindingKeyType, target As Uri) As IAsyncOperation( Of IBuffer )// You can use this method in JavaScript.
Parameters
target
Uri Uri Uri Uri

The target Uri for the key.

Returns

When this method completes, it returns the token binding key Id.

Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)