ScramServerAuthenticateAsServer Method

Requests that the provided stream be authenticated.

Definition

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

Parameters

stream  Stream
The binary stream to which the users will be saved.
additionalChallenge  Byte  (Optional)
Additional data to include in the challenge. If using SSL certificates, adding the thumbprint to the challenge will allow detecting man in the middle attacks.

Return Value

ScramServerSession
The authenticated stream.

See Also