ScramServerAuthenticateAsServer Method
Requests that the provided stream be authenticated.
Namespace: SnapDB.Security.AuthenticationAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public ScramServerSession? AuthenticateAsServer(
Stream stream,
byte[]? additionalChallenge = null
)
Public Function AuthenticateAsServer (
stream As Stream,
Optional additionalChallenge As Byte() = Nothing
) As ScramServerSession
public:
ScramServerSession^ AuthenticateAsServer(
Stream^ stream,
array<unsigned char>^ additionalChallenge = nullptr
)
function AuthenticateAsServer(stream, additionalChallenge);
- 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.
ScramServerSessionThe authenticated stream.