Windows.Security.Credentials namespace

Applies to Windows and Windows Phone

Provides a common way to securely store and manage your passcodes, passphrases, and other identification information.

Note  Enterprise credentials can't be roamed. For more information, see the Managing user info (JavaScript) or Managing user info (C#/C++/VB) topics.

The Credential locker sample gives specific scenarios of storing and retrieving credentials.

Members

The Windows.Security.Credentials namespace has these types of members:

Classes

The Windows.Security.Credentials namespace has these classes.

ClassDescription
PasswordCredential Represents the password credential store.
PasswordCredentialPropertyStore Represents the password credential property store.
PasswordVault 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.
WebAccount Identifies an account from a web account provider.
WebAccountProvider Represents a web account authentication provider.

 

Enumerations

The Windows.Security.Credentials namespace has these enumerations.

EnumerationDescription
WebAccountState Describes the state of a WebAccount object.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Security.Credentials
Windows::Security::Credentials [C++]

Metadata

Windows.winmd

See also

Credential locker sample
Managing user info (C#/C++/VB)
Managing user info (JavaScript)

 

 

Show:
© 2014 Microsoft