o
    ˷eh                     @   sB   d dl mZmZmZ d dlmZ d dlmZ G dd deeZdS )    )absolute_importdivisionprint_function)CreateableAPIResource)ListableAPIResourcec                   @   s4   e Zd ZdZdZe	dddZe	dddZdS )	Secreta<  
    Secret Store is an API that allows Stripe Apps developers to securely persist secrets for use by UI Extensions and app backends.

    The primary resource in Secret Store is a `secret`. Other apps can't view secrets created by an app. Additionally, secrets are scoped to provide further permission control.

    All Dashboard users and the app backend share `account` scoped secrets. Use the `account` scope for secrets that don't change per-user, like a third-party API key.

    A `user` scoped secret is accessible by the app backend and one specific Dashboard user. Use the `user` scope for per-user secrets like per-user OAuth tokens, where different users might have different permissions.

    Related guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects).
    zapps.secretNc                 K      | j dd||||dS )Npostz/v1/apps/secrets/deleteapi_keystripe_versionstripe_accountparams_static_requestclsr   r   r   r    r   W/var/www/ideatree/venv/lib/python3.10/site-packages/stripe/api_resources/apps/secret.pydelete_where      zSecret.delete_wherec                 K   r   )Ngetz/v1/apps/secrets/findr
   r   r   r   r   r   find$   r   zSecret.find)NNN)__name__
__module____qualname____doc__OBJECT_NAMEclassmethodr   r   r   r   r   r   r      s    r   N)
__future__r   r   r   stripe.api_resources.abstractr   r   r   r   r   r   r   <module>   s   