/opt/alt/python38/lib/python3.8/site-packages/__pycache__
Edit: /opt/alt/python38/lib/python3.8/site-packages/__pycache__/pam.cpython-38.pyc (6011B)
U
$[ @ s d Z dgZdZdZdZddlZddlmZmZm Z m
Z
mZmZm
Z
ddlmZmZmZmZmZ dd lmZ dd
lmZ G dd de ZG d
d de ZG dd de Ze
eeeeeeeeeZG dd de ZdZdZdZdZdZeedZ eedZ!e j"Z"ee"_#eege"_$e%e!dr:e!j&Z&ee&_#eege&_$e!j'Z'ee'_#eeeeeege'_$e!j(Z(ee(_#eege(_$e!j)Z)ee)_#eege)_$e!j*Z*ee*_#eege*_$G dd dZ+dd Z,e-dkrddl.Z.ddl/Z/dd Z0e+ Z+e0d e/1 Z2e+,e2e// e3d!4e+j5e+j6 dS )"z
PAM module for python
Provides an authenticate function that will allow the caller to authenticate
a user against the Pluggable Authentication Modules (PAM) on the system.
Implemented using ctypes, so no compilation is necessary.
pamz1.8.4z David Ford
z2018 June 15 N)CDLLPOINTER Structure CFUNCTYPEcastbyrefsizeof)c_void_pc_size_tc_char_pc_charc_int)memmove)find_libraryc @ s" e Zd ZdZdefgZdd ZdS ) PamHandlez&wrapper class for pam_handle_t pointerhandlec C s t | d| _d S )Nr )r __init__r self r /pam.pyr ' s
zPamHandle.__init__N)__name__
__module____qualname____doc__r
_fields_r r r r r r # s
r c @ s( e Zd ZdZdefdefgZdd ZdS )
PamMessagez'wrapper class for pam_message structure msg_stylemsgc C s d| j | jf S )Nz)r r r r r r __repr__/ s zPamMessage.__repr__N)r r r r r r r r r r r r r + s r c @ s( e Zd ZdZdefdefgZdd ZdS )PamResponsez(wrapper class for pam_response structurerespresp_retcodec C s d| j | jf S )Nz)r# r" r r r r r 6 s zPamResponse.__repr__N)r r r r r r r r r r r r r! 2 s r! c @ s e Zd ZdZdefdefgZdS )PamConvz$wrapper class for pam_conv structureconvZappdata_ptrN)r r r r conv_funcr
r r r r r r$ ; s r$ cpam_endc @ s&