IntegratedSecurityServerTryAuthenticateAsServer Method
Authenticates the client stream
Namespace: SnapDB.Security.AuthenticationAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryAuthenticateAsServer(
Stream stream,
out Guid userToken,
byte[]? additionalChallenge = null
)
Public Function TryAuthenticateAsServer (
stream As Stream,
<OutAttribute> ByRef userToken As Guid,
Optional additionalChallenge As Byte() = Nothing
) As Boolean
public:
bool TryAuthenticateAsServer(
Stream^ stream,
[OutAttribute] Guid% userToken,
array<unsigned char>^ additionalChallenge = nullptr
)
function TryAuthenticateAsServer(stream, userToken, additionalChallenge);
- 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.
Booleantrue if successful authentication. False otherwise.