PasswordVault PasswordVault PasswordVault PasswordVault PasswordVault Class

Definition

Represents a Credential Locker of credentials. The contents of the locker are specific to the app or service. Apps and services don't have access to credentials associated with other apps or services.

public : sealed class PasswordVault : IPasswordVault
struct winrt::Windows::Security::Credentials::PasswordVault : IPasswordVault
public sealed class PasswordVault : IPasswordVault
Public NotInheritable Class PasswordVault Implements IPasswordVault
var passwordVault = new passwordVault();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

PasswordVault() PasswordVault() PasswordVault() PasswordVault() PasswordVault()

Creates and initializes a new instance of the PasswordVault object.

Methods

Add(PasswordCredential) Add(PasswordCredential) Add(PasswordCredential) Add(PasswordCredential) Add(PasswordCredential)

Adds a credential to the Credential Locker.

FindAllByResource(String) FindAllByResource(String) FindAllByResource(String) FindAllByResource(String) FindAllByResource(String)

Searches the Credential Locker for credentials matching the resource specified.

FindAllByUserName(String) FindAllByUserName(String) FindAllByUserName(String) FindAllByUserName(String) FindAllByUserName(String)

Searches the Credential Locker for credentials that match the user name specified.

Remove(PasswordCredential) Remove(PasswordCredential) Remove(PasswordCredential) Remove(PasswordCredential) Remove(PasswordCredential)

Removes a credential from the Credential Locker.

Retrieve(String, String) Retrieve(String, String) Retrieve(String, String) Retrieve(String, String) Retrieve(String, String)

Reads a credential from the Credential Locker.

RetrieveAll() RetrieveAll() RetrieveAll() RetrieveAll() RetrieveAll()

Retrieves all of the credentials stored in the Credential Locker.

See Also