SCHANNEL_SESSION_TOKEN structure (schannel.h)

Specifies whether reconnections are enabled for an authentication session created by calling either the InitializeSecurityContext (Schannel) function or the AcceptSecurityContext (Schannel) function.

Syntax

typedef struct _SCHANNEL_SESSION_TOKEN {
  DWORD dwTokenType;
  DWORD dwFlags;
} SCHANNEL_SESSION_TOKEN;

Members

dwTokenType

Specifies the type of this structure. Set the value of this member to SCHANNEL_SESSION.

dwFlags

Specifies whether reconnections are to be enabled or disabled. This member must be one of the following values.

Value Meaning
SSL_SESSION_ENABLE_RECONNECTS
1
Reconnections are enabled.
SSL_SESSION_DISABLE_RECONNECTS
2
Reconnections are disabled.

Remarks

Add a session token to a client context by using this structure as the value of the pInput parameter in a call to the ApplyControlToken function.

This API only applies to Session ID-based reconnects.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header schannel.h