ScramClientAuthenticateAsClient Method
Authenticates the client to the server using SCRAM-SHA-256 or SCRAM-SHA-1 mechanism.
Namespace: SnapDB.Security.AuthenticationAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool AuthenticateAsClient(
Stream stream,
byte[]? additionalChallenge = null
)
Public Function AuthenticateAsClient (
stream As Stream,
Optional additionalChallenge As Byte() = Nothing
) As Boolean
public:
bool AuthenticateAsClient(
Stream^ stream,
array<unsigned char>^ additionalChallenge = nullptr
)
function AuthenticateAsClient(stream, additionalChallenge);
- stream Stream
- The stream used for communication with the server.
- additionalChallenge Byte (Optional)
- Optional additional challenge data to include in the authentication process.
BooleanTrue if authentication is successful, otherwise false.