Share via


WebAccountManager.PullCookiesAsync(String, String) Method

Definition

Pulls cookies asynchronously. Use this to enable single sign-on in an app after a user has entered their credentials into a web browser.

public:
 static IAsyncAction ^ PullCookiesAsync(Platform::String ^ uriString, Platform::String ^ callerPFN);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction PullCookiesAsync(winrt::hstring const& uriString, winrt::hstring const& callerPFN);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction PullCookiesAsync(string uriString, string callerPFN);
function pullCookiesAsync(uriString, callerPFN)
Public Shared Function PullCookiesAsync (uriString As String, callerPFN As String) As IAsyncAction

Parameters

uriString
String

Platform::String

winrt::hstring

The Uri to pull cookies from.

callerPFN
String

Platform::String

winrt::hstring

The caller's package family name.

Returns

This method does not return a value.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to