/var/opt/nydus/ops/mysql/connector/aio/plugins/__pycache__
NameSizeModeActions
authentication_kerberos_client.cpython-312.pyc233050644editdlrm
authentication_ldap_sasl_client.cpython-312.pyc283570644editdlrm
authentication_oci_client.cpython-312.pyc103910644editdlrm
authentication_openid_connect_client.cpython-312.pyc72810644editdlrm
authentication_webauthn_client.cpython-312.pyc113360644editdlrm
caching_sha2_password.cpython-312.pyc63210644editdlrm
mysql_clear_password.cpython-312.pyc38950644editdlrm
mysql_native_password.cpython-312.pyc47460644editdlrm
sha256_password.cpython-312.pyc40390644editdlrm
__init__.cpython-312.pyc61620644editdlrm
Edit: /var/opt/nydus/ops/mysql/connector/aio/plugins/__pycache__/mysql_clear_password.cpython-312.pyc (3895B)
N jWjdZddlmZmZmZddlmZddlmZddl m Z erddl m Z d Z Gd d e Zy ) z%Clear Password Authentication Plugin.) TYPE_CHECKINGAnyOptional)errors)logger)MySQLAuthPlugin) MySQLSocketMySQLClearPasswordAuthPluginczeZdZdZdefdZedefdZede fdZ dede de efdZ d d dede defd Zy ) r zAClass implementing the MySQL Clear Password authentication pluginreturnc<|jjdzS)znPrepare and return password as as clear text. Returns: bytes: Prepared password. ) _passwordencodeselfs a/opt/nydus/tmp/pip-target-a90h98xg/lib/python/mysql/connector/aio/plugins/mysql_clear_password.py_prepare_passwordz.MySQLClearPasswordAuthPlugin._prepare_password/s ~~$$&00cy)zPlugin official name.mysql_clear_passwordrs rnamez!MySQLClearPasswordAuthPlugin.name7s&rcy)z'Signals whether or not SSL is required.Frrs r requires_sslz)MySQLClearPasswordAuthPlugin.requires_ssl<sr auth_datakwargsc |jr.|js"tj|jd|j S)zReturn the prepared password to send to MySQL. Raises: InterfaceError: When SSL is required by not enabled. Returns: str: The prepared password. z requires SSL)r _ssl_enabledrInterfaceErrorrr)rrrs r auth_responsez*MySQLClearPasswordAuthPlugin.auth_responseAs@   T%6%6''499+](CD D%%''rsockr cJK|j|fi|}|tjdtjd|t ||j |d{t|jd{}tjd||S7=7"w)aSHandles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin provided data (extracted from a packet representing an `auth switch request` response). kwargs: Custom configuration to be passed to the auth plugin when invoked. The parameters defined here will override the ones defined in the auth plugin itself. Returns: packet: Last server's response after back-and-forth communication. NzGot a NULL auth responsez# request: %s size: %sz# server response packet: %s) r#rr"rdebuglenwritebytesread)rr$rrresponsepkts rauth_switch_responsez1MySQLClearPasswordAuthPlugin.auth_switch_responseNs"&4%%i:6:  ''(BC C -xXGjj"""$))+%& 3S9 #%s$AB#!B"B#>B!?!B#!B#N)__name__ __module__ __qualname____doc__r)rpropertystrrboolrrrr#r-rrrr r ,sK151&c&&d (u ( ( (!.3?B rN)r1typingrrrmysql.connectorrmysql.connector.loggerrr networkr AUTHENTICATION_PLUGIN_CLASSr rrrr;s1:,//")%<=?=r