%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/keyring/backends/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/keyring/backends/__pycache__/Windows.cpython-312.pyc |
� �e� � �L � d dl Z ddlmZ ddlmZ ddlmZ ddlmZm Z e � 5 Z d dlmZ d dlm Z e j ddd� e j e� Z G d � d � Z G d� de� Z G d � de� Zy# e$ r d dlZd dl Z e j Y �Vw xY w# 1 sw Y �[xY w)� N� )� properties)�KeyringBackend)�SimpleCredential)�PasswordDeleteError�ExceptionRaisedContext)� pywintypes)� win32credc � � e Zd Zdd�Zd� Zy)�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�,M�N�N� c � � t |t � r3d|j dd� j � z }t t |� }t |d|� y)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__ sD � � �e�S�!�"�U�]�]�3��%<�%B�%B�%D�D�D��I�t�,�E����U�+r )N)�__name__� __module__�__qualname__r r"