BG_AUTH_CREDENTIALS structure (bits1_5.h)

Identifies the target (proxy or server), authentication scheme, and the user's credentials to use for user authentication requests. The structure is passed to the IBackgroundCopyJob2::SetCredentials method.

Syntax

typedef struct __MIDL_IBackgroundCopyJob2_0003 {
  BG_AUTH_TARGET            Target;
  BG_AUTH_SCHEME            Scheme;
  BG_AUTH_CREDENTIALS_UNION Credentials;
} BG_AUTH_CREDENTIALS;

Members

Target

Identifies whether to use the credentials for a proxy or server authentication request. For a list of values, see the BG_AUTH_TARGET enumeration. You can specify only one value.

Scheme

Identifies the scheme to use for authentication (for example, Basic or NTLM). For a list of values, see the BG_AUTH_SCHEME enumeration. You can specify only one value.

Credentials

Identifies the credentials to use for the specified authentication scheme. For details, see the BG_AUTH_CREDENTIALS_UNION union.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2003
Header bits1_5.h (include Bits.h)
Redistributable BITS 1.5 on Windows XP

See also

BG_AUTH_CREDENTIALS_UNION

BG_AUTH_SCHEME

BG_AUTH_TARGET

IBackgroundCopyJob2::SetCredentials