zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
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
U
W±d" ã@shdZddlmZddlmZmZmZddlmZ    dZ
dZ dZ dZ dZefdd    „Zdd
d „Zdd d „ZdS)z0 Interface to credentials management functions. é)Úabsolute_import)Ú_authenticationÚ_commonÚ_backend)Ú pywin32erroréééc    Cs:tj ||¡}t |¡}tƒt |d¡W5QRXdS)a     Creates or updates a stored credential.
 
    Parameters
    ----------
    Credential : dict
        A dictionary corresponding to the PyWin32 ``PyCREDENTIAL``
        structure.
    Flags : int
        Always pass ``CRED_PRESERVE_CREDENTIAL_BLOB`` (i.e. 0).
 
    rN)rZ
CREDENTIALZfromdictÚ PCREDENTIALÚ _pywin32errorZ
_CredWrite)Z
CredentialÚFlagsZc_credsZc_pcreds©r úTd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\win32ctypes/pywin32/win32cred.pyÚ    CredWrites 
rc    Cs–|tkrtdƒ‚d}tƒPtdkrHt ¡}t ||||¡t |¡}nt     ¡}t |||t 
|¡¡W5QRXzt  t |¡¡W¢St  |¡XdS)a¬ Retrieves a stored credential.
 
    Parameters
    ----------
    TargetName : unicode
        The target name to fetch from the keyring.
    Type : int
        One of the CRED_TYPE_* constants.
    Flags : int
        Reserved, always use 0.
 
    Returns
    -------
    credentials : dict
        ``None`` if the target name was not found or A dictionary
        corresponding to the PyWin32 ``PyCREDENTIAL`` structure.
 
    z+Type != CRED_TYPE_GENERIC not yet supportedrZcffiN) ÚCRED_TYPE_GENERICÚ
ValueErrorr rrZ PPCREDENTIALZ    _CredReadrÚ dereferencer
Z byreferenceZ    _CredFreeZcredential2dict)Ú
TargetNameÚTyper ÚflagZppcredsZpcredsr r rÚCredRead(s$ ÿrc    Cs4|tkstdƒ‚tƒt ||d¡W5QRXdS)a Remove the given target name from the stored credentials.
 
    Parameters
    ----------
    TargetName : unicode
        The target name to fetch from the keyring.
    Type : int
        One of the CRED_TYPE_* constants.
    Flags : int
        Reserved, always use 0.
 
    z,Type != CRED_TYPE_GENERIC not yet supported.rN)rrr rZ _CredDelete)rrr r r rÚ
CredDeleteNs rN)r)r)Ú__doc__Ú
__future__rZwin32ctypes.corerrrZwin32ctypes.pywin32.pywintypesrr rZCRED_PERSIST_SESSIONZCRED_PERSIST_LOCAL_MACHINEZCRED_PERSIST_ENTERPRISEZCRED_PRESERVE_CREDENTIAL_BLOBrrrr r r rÚ<module>s   
&