ScramClientAuthenticateAsClient Method

Authenticates the client to the server using SCRAM-SHA-256 or SCRAM-SHA-1 mechanism.

Definition

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

Parameters

stream  Stream
The stream used for communication with the server.
additionalChallenge  Byte  (Optional)
Optional additional challenge data to include in the authentication process.

Return Value

Boolean
True if authentication is successful, otherwise false.

See Also