CREDENTIAL_PROVIDER_GET_SERIALIZATION_RESPONSE enumeration (credentialprovider.h)

Describes the response when a credential provider attempts to serialize credentials. Used by ICredentialProviderCredential::GetSerialization.

Syntax

typedef enum _CREDENTIAL_PROVIDER_GET_SERIALIZATION_RESPONSE {
  CPGSR_NO_CREDENTIAL_NOT_FINISHED = 0,
  CPGSR_NO_CREDENTIAL_FINISHED,
  CPGSR_RETURN_CREDENTIAL_FINISHED,
  CPGSR_RETURN_NO_CREDENTIAL_FINISHED
} CREDENTIAL_PROVIDER_GET_SERIALIZATION_RESPONSE;

Constants

 
CPGSR_NO_CREDENTIAL_NOT_FINISHED
Value: 0
No credential was serialized because more information is needed. One example of this would be if a credential requires both a PIN and an answer to a secret question, but the user has only provided the PIN. This signals the caller should be given a chance to alter its response.
CPGSR_NO_CREDENTIAL_FINISHED
The credential provider has not serialized a credential but has completed its work. This response has multiple meanings. It can mean that no credential was serialized and that the user should not try again. This response can also mean that no credential was submitted but the credential's work is complete. For example, in the Change Password scenario, this response implies success.
CPGSR_RETURN_CREDENTIAL_FINISHED
A credential was serialized. This response implies that a serialization structure was passed back.
CPGSR_RETURN_NO_CREDENTIAL_FINISHED
The credential provider has not serialized a credential, but has completed its work. The difference between this value and CPGSR_NO_CREDENTIAL_FINISHED is that this flag will force the logon UI to return, which will call UnAdvise for all the credential providers.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header credentialprovider.h

See also

Credential Providers in Windows 10