[CSHARP-4545] Validate connection string auth option before cluster creating Created: 24/Feb/23  Updated: 21/Apr/23

Status: Backlog
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently we validate only simple cases during creating MongoCredentials, but defer complex cases (like validating auth props or different options combination) to the time when we create authentication itself which happens in handshake. I think we need to do it earlier like before cluster creating. This looks like a good place for it. NOTE: all needed validation happens inside "ToAuthenticator", but since it's delegate, we actually call it only during handshake


Generated at Wed Feb 07 21:48:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.