MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Windows.Security.Credentials namespace

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

ClassDescription
KeyCredential Represents a key credential, an RSA, 2048-bit, asymmetric key that represents a user's identity for an application.
KeyCredentialAttestationResult Represents the results of the KeyCredential.GetAttestationAsync method.
KeyCredentialManager Contains methods for basic management of key credentials.
KeyCredentialOperationResult Represents the result of a key credential operation.
KeyCredentialRetrievalResult Represents the result of a key credential retrieval.
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
KeyCredentialAttestationStatus Represents key credential attestation statuses.
KeyCredentialCreationOption Represents the options for creating key credentials.
KeyCredentialStatus Represents the status of a key credential request.
WebAccountPictureSize Represents the sizes of a web account picture.
WebAccountState Describes the state of a WebAccount object.

 

Interfaces

The Windows.Security.Credentials namespace defines these interfaces.

InterfaceDescription
IWebAccount Enables a class to represent an account from a web account provider.

 

See also

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

 

 

Show:
© 2016 Microsoft