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