hyb
2025-11-07 cadac0a99d87c53805a07f3b4ca7fd11e524fe4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Ë
Wñúhãã    óЗdZddgZddlZddlmZmZddlmZddlm    Z    m
Z
m Z m Z ddl mZmZdd    lmZe    rd
d lmZd ZGd „de«Zedd¬«    ddede ede efd„«Zy)z!Base Authentication Plugin class.ÚMySQLAuthPluginÚget_auth_pluginéN)ÚABCÚabstractmethod)Ú    lru_cache)Ú TYPE_CHECKINGÚAnyÚOptionalÚType)ÚNotSupportedErrorÚProgrammingError)Úloggeré)Ú MySQLSocketzmysql.connector.aio.pluginsc    óà—eZdZdZ    ddedededdfd„Zedefd„«Zee    defd    „««Z
ee    defd
„««Z e    d e d e dee fd „«Zddd e d e de fd„Ze    ddd e d e de fd„«Zy)rzAuthorization plugin interface.ÚusernameÚpasswordÚ ssl_enabledÚreturnNcó>—|€dn||_|€dn||_||_y)z Constructor.NÚ)Ú    _usernameÚ    _passwordÚ _ssl_enabled)Úselfrrrs    úWH:\Change_password\venv_build\Lib\site-packages\mysql/connector/aio/plugins/__init__.pyÚ__init__zMySQLAuthPlugin.__init__3s(€ð%-Ð$4™b¸(ˆŒØ$,Ð$4™b¸(ˆŒØ"-ˆÕócó—|jS)z&Signals whether or not SSL is enabled.)r©rs rrzMySQLAuthPlugin.ssl_enabled>s€ðנѠРrcó—y)z'Signals whether or not SSL is required.N©r s rÚ requires_sslzMySQLAuthPlugin.requires_sslCórcó—y)zPlugin official name.Nr"r s rÚnamezMySQLAuthPlugin.nameHr$rÚ    auth_dataÚkwargsc ó—y)aˆMake the client's authorization response.
 
        Args:
            auth_data: Authorization data.
            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: Client's authorization response.
        Nr")rr'r(s   rÚ auth_responsezMySQLAuthPlugin.auth_responseMr$rÚsockrc‹óK—t‚­w)a1Handles server's `auth more data` response.
 
        Args:
            sock: Pointer to the socket connection.
            auth_data: Authentication method data (from a packet representing
                       an `auth more data` 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.
        )ÚNotImplementedError©rr+r'r(s    rÚauth_more_responsez"MySQLAuthPlugin.auth_more_response[sèø€ô "Ð!ùs‚    c‹ó K—y­w)a?Handles 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.
        Nr"r.s    rÚauth_switch_responsez$MySQLAuthPlugin.auth_switch_responsemsèøùs‚)F)Ú__name__Ú
__module__Ú __qualname__Ú__doc__ÚstrÚboolrÚpropertyrrr#r&Úbytesr    r
r*r/r1r"rrrr0s„Ù)ð "ñ        .àð    .ðð    .ðð        .ð
 
ó     .ðð!˜Tò!óð!ðØð6˜dò6óóð6ðØð$cò$óóð$ðð   uð  ¸ð  ÀÈÁò  óð  ð"Ø!ð"Ø.3ð"Ø?Bð"à    ó"ð$ð Ø!ð Ø.3ð Ø?Bð à    ò óñ ré
F)ÚmaxsizeÚtypedÚ plugin_nameÚauth_plugin_classrcó—t}|r‚    tjd|«tjd|«tjd|›|«}|r t ||«s |j }tjd|«t||«Std|›d    «‚#t$r }tjd|«Yd}~Œ3d}~wt$r}td|›«|‚d}~wwxYw)
aÂReturn authentication class based on plugin name
 
    This function returns the class for the authentication plugin plugin_name.
    The returned class is a subclass of BaseAuthPlugin.
 
    Args:
        plugin_name (str): Authentication plugin name.
        auth_plugin_class (str): Authentication plugin class name.
 
    Raises:
        NotSupportedError: When plugin_name is not supported.
 
    Returns:
        Subclass of `MySQLAuthPlugin`.
    z package: %szplugin_name: %sú.zAUTHENTICATION_PLUGIN_CLASS: %sz"Requested Module was not found: %sNzInvalid module name: zAuthentication plugin 'z' is not supported) ÚDEFAULT_PLUGINS_PKGrÚinfoÚ    importlibÚ import_moduleÚhasattrÚAUTHENTICATION_PLUGIN_CLASSÚgetattrÚModuleNotFoundErrorÚwarningÚ
ValueErrorr r )r=r>ÚpackageÚ plugin_moduleÚerrs     rrr€s܀ô("€GÙð     KÜ K‰K˜  wÔ /Ü K‰KÐ)¨;Ô 7Ü%×3Ñ3°a¸ °}Ð4EÀwÓOˆMÙ$¬G°MÐCTÔ,UØ$1×$MÑ$MÐ!Ü K‰KÐ9Ð;LÔ Mܘ=Ð*;Ó<Ð <ô
Ð5°k°]ÐBTÐUÓ
VÐVøô    #ò    FÜ N‰NÐ?À× EÑ EûÜò    KÜ"Ð%:¸3¸%Ð#@ÓAÀsÐ Jûð    Kús$ŠBB    CÂ#B>Â> CÃ
CÃC)N)r5Ú__all__rCÚabcrrÚ    functoolsrÚtypingrr    r
r Úmysql.connector.errorsr r Úmysql.connector.loggerrÚnetworkrrArr6rr"rrú<module>rUsðñ:(à Ð/Ð
0€ãç#Ýß5Ó5çFÝ)áÝ%à3ÐôM côM ñ` 2˜UÔ#ð(,ñ!WØð!Wà ‘}ð!Wð
ˆ/Ñò!Wó$ñ!Wr