| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/keyring/backends/__pycache__/ |
Upload File : |
�
%�c� � �V � d dl Z ddlmZ ddlmZ ddlmZ ddlmZm Z e � � 5 Z
d dlmZ d dlm
Z
e
j n# e$ r d dlZd dl
Z
e
j Y nw xY wddd� � n# 1 swxY w Y e j e� � Z G d � d
� � Z G d� de� � Z G d
� de� � ZdS )� N� )�
properties)�KeyringBackend)�SimpleCredential)�PasswordDeleteError�ExceptionRaisedContext)�
pywintypes)� win32credc � � e Zd Zdd�Zd� ZdS )�PersistenceNc �8 � t |dt j � � S )N�_persist)�getattrr
�CRED_PERSIST_ENTERPRISE)�self�keyring�types �:/usr/lib/python3/dist-packages/keyring/backends/Windows.py�__get__zPersistence.__get__ s � ��w�
�I�,M�N�N�N� c �� � t |t � � r@d|� dd� � � � � z }t t
|� � }t
|d|� � dS )z�
Set the persistence value on the Keyring. Value may be
one of the win32cred.CRED_PERSIST_* constants or a
string representing one of those constants. For example,
'local machine' or 'session'.
�
CRED_PERSIST_� �_r N)�
isinstance�str�replace�upperr r
�setattr)r r �value�attrs r �__set__zPersistence.__set__ sa � � �e�S�!�!� -�"�U�]�]�3��%<�%<�%B�%B�%D�%D�D�D��I�t�,�,�E����U�+�+�+�+�+r )N)�__name__�
__module__�__qualname__r r"