WebAccountManager.InvalidateAppCacheForAccountAsync(WebAccount) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears the web account manager's token cache for a specific web account.
public:
static IAsyncAction ^ InvalidateAppCacheForAccountAsync(WebAccount ^ webAccount);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction InvalidateAppCacheForAccountAsync(WebAccount const& webAccount);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction InvalidateAppCacheForAccountAsync(WebAccount webAccount);
function invalidateAppCacheForAccountAsync(webAccount)
Public Shared Function InvalidateAppCacheForAccountAsync (webAccount As WebAccount) As IAsyncAction
Parameters
- webAccount
- WebAccount
The web account for which tokens will be cleared.
Returns
This method does not return a value.
- Attributes
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Remarks
This method should be called whenever a web account provider app detects that a token cached by the web account manager for a specific account is invalid.