
    g                     n    d dl mZ d dlmZ  G d de          Z G d d          Z G d d          Zd	S )
    )Enum)Optionalc                       e Zd ZdZdZdS )
LoginStateSignInSignUpN)__name__
__module____qualname__SIGN_INSIGN_UP     s/var/www/html/nodeJS/PythonScripts/venv3.11/lib/python3.11/site-packages/selenium/webdriver/common/fedcm/account.pyr   r      s        GGGGr   r   c                   4    e Zd Zd Zdee         fdZddZdS )_AccountDescriptorc                     || _         d S N)name)selfr   s     r   __init__z_AccountDescriptor.__init__   s    			r   returnc                 @    |j                             | j                  S r   )_account_datagetr   )r   objclss      r   __get__z_AccountDescriptor.__get__   s     $$TY///r   Nc                      t          d          )NzCannot set readonly attribute)AttributeError)r   r   values      r   __set__z_AccountDescriptor.__set__"   s    <===r   )r   N)r	   r
   r   r   r   strr   r"   r   r   r   r   r      sV          08C= 0 0 0 0> > > > > >r   r   c                       e Zd ZdZ ed          Z ed          Z ed          Z ed          Z ed          Z	 ed          Z
 ed          Z ed	          Z ed
          Zd ZdS )AccountzRepresents an account displayed in a FedCM account list.

    See: https://w3c-fedid.github.io/FedCM/#dictdef-identityprovideraccount
         https://w3c-fedid.github.io/FedCM/#webdriver-accountlist
    	accountIdemailr   	givenName
pictureUrlidpConfigUrltermsOfServiceUrlprivacyPolicyUrl
loginStatec                     || _         d S r   )r   )r   account_datas     r   r   zAccount.__init__7   s    )r   N)r	   r
   r   __doc__r   
account_idr'   r   
given_namepicture_urlidp_config_urlterms_of_service_urlprivacy_policy_urllogin_stater   r   r   r   r%   r%   &   s          $#K00Jw''Ef%%D##K00J$$\22K''77N--.ABB++,>??$$\22K* * * * *r   r%   N)enumr   typingr   r   r   r%   r   r   r   <module>r:      s   $                   
> > > > > > > >* * * * * * * * * *r   