U
    JZfy
                  %   @   s  d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d d	lm
Z
 d d
lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z  d dlm!Z! d dlm"Z" d dlm#Z# d dlm$Z$ d dlm%Z% d d lm&Z& d d!lm'Z' d d"lm(Z( d d#lm)Z) d d$lm*Z* d d%lm+Z+ d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJg%Z,dKdL Z-dMS )N   )__version__)AUTH_HEADER_NAME)COOKIE_DURATION)COOKIE_HTTPONLY)COOKIE_NAME)COOKIE_SECURE)ID_ATTRIBUTE)LOGIN_MESSAGE)LOGIN_MESSAGE_CATEGORY)REFRESH_MESSAGE)REFRESH_MESSAGE_CATEGORY)LoginManager)AnonymousUserMixin)	UserMixin)session_protected)user_accessed)user_loaded_from_cookie)user_loaded_from_request)user_logged_in)user_logged_out)user_login_confirmed)user_needs_refresh)user_unauthorized)FlaskLoginClient)confirm_login)current_user)decode_cookie)encode_cookie)fresh_login_required)login_fresh)login_remembered)login_required)	login_url)
login_user)logout_user)make_next_param)set_login_viewr   r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   c                 C   s<   | dkr0dd l }ddlm} |jdtdd |S t| d S )NZuser_loaded_from_header    r   )_user_loaded_from_headerzw'user_loaded_from_header' is deprecated and will be removed in Flask-Login 0.7. Use 'user_loaded_from_request' instead.   )
stacklevel)warningssignalsr(   warnDeprecationWarningAttributeError)namer+   r(    r1   8/tmp/pip-unpacked-wheel-ribar_4g/flask_login/__init__.py__getattr__P   s    r3   N).	__about__r   configr   r   r   r   r   r   r	   r
   r   r   Zlogin_managerr   Zmixinsr   r   r,   r   r   r   r   r   r   r   r   r   Ztest_clientr   utilsr   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   __all__r3   r1   r1   r1   r2   <module>   s   )