This is an authentication/authorization library, currently optimized for web apps. It provides some higher level APIs built on top of Microsoft's MSAL Python.
Project description
Identity library
This Identity library is an authentication/authorization library that:
- Suitable for apps that are targeting end users on Microsoft identity platform (which includes Work or school accounts provisioned through Azure AD, and Personal Microsoft accounts such as Skype, Xbox, Outlook.com).
- Currently designed for web apps, regardless of which Python web framework you are using.
- Provides a set of high level API that is built on top of, and easier to be used than Microsoft's MSAL Python library.
- Written in Python, for Python apps.
DISCLAIMER: The code in this repo is not officially supported by Microsoft and is not intended for production use. The intention of this repo is to unblock customers who would like to use a higher level API, before such an API has been migrated to an Microsoft library with official support. Migration of this API to official support is not guaranteed and is not currently on the MSAL roadmap. Please ensure to fully test any code used from this repository to ensure it works in your environment.
Scenarios supported
- Web app that logs in users
- Web app that logs in users and calls a web API on their behalf
- [In roadmap] Protected web API that only authenticated users can access
- [In roadmap] Protected web API that calls another (downstream) web API on behalf of the signed-in user
Installation
This package is available on PyPI.
You can install it by pip install identity
.
Versions
This library follows Semantic Versioning.
Your project should declare identity
dependency with proper lower and upper bound.
As of this writing, this library is still in preview. Please declare your dependency as
identity>=0.2,<0.3
.
You can find the changes for each version under Releases.
Usage
Sample coming soon.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for identity-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f512f50a0148e87e3d0584aca2e65e8215b9cc04fd04a67b74963eaff519d46 |
|
MD5 | 7f0c13c08746e24f968ffb71cfff39bc |
|
BLAKE2b-256 | 57d46b0bd7a42b34389874f1d5ed6c4747563ca06bef35d25fbfeb887f30bf64 |