Repository URL to install this package:
|
Version:
0.1.31-1 ▾
|
odigos-demo-inventory
/
opt
/
odigos-demo-inventory
/
site-packages
/
keyring
/
__pycache__
/
credentials.cpython-311.pyc
|
|---|
§
iµµh9 ã óv d dl Z d dlZ G d dej ¬¦ « Z G d de¦ « Z G d de¦ « ZdS ) é Nc óR e Zd ZdZej d ¦ « Zej d ¦ « ZdS )Ú
Credentialz$Abstract class to manage credentialsc ó d S ©N© ©Úselfs ú>/usr/local/lib/python3.11/site-packages/keyring/credentials.pyÚusernamezCredential.username ó àtó c ó d S r r r s r
ÚpasswordzCredential.password r r
N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚabcÚabstractpropertyr r r r
r
r r sV Ø.Ð.àÔðð ñ Ôðð Ôðð ñ Ôðð ð r
r )Ú metaclassc óD e Zd ZdZd Zed ¦ « Zed ¦ « ZdS )ÚSimpleCredentialz!Simple credentials implementationc ó" || _ || _ d S r )Ú _usernameÚ _password)r r r s r
Ú__init__zSimpleCredential.__init__ s Ø!Ø!r
c ó | j S r )r r s r
r zSimpleCredential.username ó
à~Ðr
c ó | j S r )r r s r
r zSimpleCredential.password r r
N)r r r r r Úpropertyr r r r
r
r r s_ Ø+Ð+ð"ð "ð "ð ðð ñ Xðð ðð ñ Xðð ð r
r c óZ e Zd ZdZd ZdedefdZd Ze d ¦ « Z
e d ¦ « Zd S )
ÚEnvironCredentialaA
Source credentials from environment variables.
Actual sourcing is deferred until requested.
Supports comparison by equality.
>>> e1 = EnvironCredential('a', 'b')
>>> e2 = EnvironCredential('a', 'b')
>>> e3 = EnvironCredential('a', 'c')
>>> e1 == e2
True
>>> e2 == e3
False
c ó" || _ || _ d S r )Úuser_env_varÚpwd_env_var)r r$ r% s r
r zEnvironCredential.__init__2 s Ø(ÔØ&ÔÐÐr
ÚotherÚreturnc óB t | ¦ « t |¦ « k S r )Úvars)r r&