IntegratedSecurityServerTryAuthenticateAsServer Method

Authenticates the client stream

Definition

Namespace: SnapDB.Security.Authentication
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryAuthenticateAsServer(
	Stream stream,
	out Guid userToken,
	byte[]? additionalChallenge = null
)

Parameters

stream  Stream
The stream to authenticate
userToken  Guid
the user token associated with the identity match
additionalChallenge  Byte  (Optional)
Additional data that much match between the client and server for the connection to succeed.

Return Value

Boolean
true if successful authentication. False otherwise.

See Also