Udostępnij za pośrednictwem


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.

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

Classes

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. This class and its members are reserved for internal use and are not intended to be used in your code.

PasswordVault

Represents a Credential Locker of credentials. Lockers are specific to a user.

Apps running in an AppContainer (for example, UWP apps) can only access the contents of their own locker (for the current user). Apps not running in an AppContainer (for example, regular Desktop apps) can access all the user's lockers, including those of AppContainer apps.

WebAccount

Identifies an account from a web account provider.

WebAccountProvider

Represents a web account authentication provider.

Interfaces

IWebAccount

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

Enums

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.

See also