3.1.1.4 PCONTEXT_HANDLE_SERVER_AUTH_TYPE RPC Context Handle

The PCONTEXT_HANDLE_SERVER_AUTH_TYPE represents the server's security context established with a client.

A protocol client acquires a PCONTEXT_HANDLE_SERVER_AUTH_TYPE RPC context handle through a call to the S_DSValidateServer method and releases the context handle through a subsequent call to S_DSCloseServerHandle.

Each instance of this RPC context handle represents internal state that the server needs to maintain for the negotiated security context information. The server SHOULD register a rundown method to close these RPC context handles in the event that the client fails to call the S_DSCloseServerHandle method. See section 3.1.6.1.

The server MUST retain this information until the client closes the RPC context handle through a call to the S_DSCloseServerHandle method, or until the RPC context handle rundown occurs.