(self)
| 403 | self.mechanism = mechanism |
| 404 | |
| 405 | def speculate_command(self) -> Optional[MutableMapping[str, Any]]: |
| 406 | nonce, first_bare, cmd = _authenticate_scram_start(self.credentials, self.mechanism) |
| 407 | # The 'db' field is included only on the speculative command. |
| 408 | cmd["db"] = self.credentials.source |
| 409 | # Save for later use. |
| 410 | self.scram_data = (nonce, first_bare) |
| 411 | return cmd |
| 412 | |
| 413 | |
| 414 | class _X509Context(_AuthContext): |
nothing calls this directly
no test coverage detected