معرفی شرکت ها


django-auth-exchange-0.1.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A reusable Django app for authenticating against Exchange servers.
ویژگی مقدار
سیستم عامل -
نام فایل django-auth-exchange-0.1.2
نام django-auth-exchange
نسخه کتابخانه 0.1.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Gregory N. Schmit
ایمیل نویسنده gschmi4@uic.edu
آدرس صفحه اصلی https://github.com/gregschmit/django-auth-exchange
آدرس اینترنتی https://pypi.org/project/django-auth-exchange/
مجوز MIT
Auth Exchange ############# .. inclusion-marker-do-not-remove .. image:: https://readthedocs.org/projects/django-auth-exchange/badge/?version=latest :target: https://django-auth-exchange.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status Documentation: https://django-auth-exchange.readthedocs.io Source: https://github.com/gregschmit/django-auth-exchange PyPI: https://pypi.org/project/django-auth-exchange/ Auth Exchange is a reusable Django app that allows you to authenticate users against an Exchange/Office365 server (using :code:`exchangelib`). **The Problem**: I don't want users of my app to remember another password. **The Solution**: This app allows those users to authenticate using their Exchange email credentials. How to Use ========== .. code-block:: shell $ pip install django-auth-exchange Include :code:`django_auth_exchange` in your :code:`INSTALLED_APPS`. Add :code:`django_auth_exchange.backends.ExchangeAuthBackend` to your :code:`AUTHENTICATION_BACKENDS`, e.g.: .. code-block:: python AUTHENTICATION_BACKENDS = [ 'django_auth_exchange.backends.ExchangeAuthBackend', 'django.contrib.auth.backends.ModelBackend', ] Configure at least one domain: .. code-block:: python AUTH_EXCHANGE_DOMAIN_SERVERS = { 'example.org': 'autodiscover', } Settings -------- :code:`AUTH_EXCHANGE_CREATE_UNKNOWN_USER` (default: :code:`True`) - Determines if users should be created if they are not found in the local database. :code:`AUTH_EXCHANGE_DEFAULT_DOMAIN` (default: :code:`'example.com'`) - If only a username is provided, this is the default domain that will be associated. :code:`AUTH_EXCHANGE_ALLOWED_FORMATS` (default: :code:`['email', 'netbios', 'username']`) - This specifies which formats are allowed as the username (email means :code:`someuser@example.com`, netbios means :code:`EXAMPLE\someuser`, and username means :code:`someuser`). :code:`AUTH_EXCHANGE_DOMAIN_SERVERS` (default: :code:`{}`) - This specifies the domains which are allowed to authenticate and the server that should be used for authentication (or :code:`'autodiscover'`). Hint: Office365 uses the server :code:`outlook.office365.com`. :code:`AUTH_EXCHANGE_DOMAIN_USER_PROPERTIES` (default: :code:`{}`) - This specifies the settings we should apply to a user when they are added to the local database for each domain (e.g., to make all :code:`example.com` users superusers, do: :code:`{'example.com': {'is_staff': True, 'is_superuser': True}}`). :code:`AUTH_EXCHANGE_NETBIOS_TO_DOMAIN_MAP` (default: :code:`{}`) - This specifies a mapping from NETBIOS names to domain names. Contributing ============ Email gschmi4@uic.edu if you want to contribute. You must only contribute code that you have authored or otherwise hold the copyright to, and you must make any contributions to this project available under the MIT license. To collaborators: don't push using the :code:`--force` option.


نیازمندی

مقدار نام
>=2 Django
- exchangelib


نحوه نصب


نصب پکیج whl django-auth-exchange-0.1.2:

    pip install django-auth-exchange-0.1.2.whl


نصب پکیج tar.gz django-auth-exchange-0.1.2:

    pip install django-auth-exchange-0.1.2.tar.gz