MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / _parse_scram_response

Function _parse_scram_response

pymongo/auth_shared.py:232–237  ·  view source on GitHub ↗

Split a scram response into key, value pairs.

(response: bytes)

Source from the content-addressed store, hash-verified

230
231
232def _parse_scram_response(response: bytes) -> Dict[bytes, bytes]:
233 """Split a scram response into key, value pairs."""
234 return dict(
235 typing.cast(typing.Tuple[bytes, bytes], item.split(b"=", 1))
236 for item in response.split(b",")
237 )
238
239
240def _authenticate_scram_start(

Callers 2

_authenticate_scramFunction · 0.90
_authenticate_scramFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected