Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The abstract base type for all username/password credentials.
Note that WS_USERNAME_CREDENTIAL and its concrete subtypes
are used with the WS-Security WS_USERNAME_MESSAGE_SECURITY_BINDING.
They are best suitable for application-level username/password pairs, such as
those used for online customer accounts. The usernames and passwords specified
are not interpreted by the security runtime, and are merely carried
client-to-server for authentication by the specified server-side
username/password validator specified by the application.
In contrast, the WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL and its concrete subtypes are used for Windows Integrated Authentication and the security bindings that use it.
Syntax
typedef struct _WS_USERNAME_CREDENTIAL {
WS_USERNAME_CREDENTIAL_TYPE credentialType;
} WS_USERNAME_CREDENTIAL;
Members
credentialType
The selector for the type of the username credential.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | webservices.h |