## Installation
Install the latest release from PyPi:
pip install cloudauthz
## Example
An example on using Microsoft Azure backend:
```python
from cloudauthz import *
ca = CloudAuthz()
res = ca.authorize('azure', {'tenant_id': TENANT_ID,
'client_id': CLIENT_ID,
'client_secret': CLIENT_SECRET})
```
An example of `res` is as the following:
```python
{
'expiresIn': 3599,
'_authority': 'https://login.microsoftonline.com/TENANT_ID',
'resource': u'https://storage.azure.com/',
'tokenType': u'Bearer',
'expiresOn': '2018-06-28 12:30:24.895661',
'isMRRT': True,
'_clientId': CLIENT_ID,
'accessToken': AN_ACCESS_TOKEN,
}
```
Metadata
Release files for cloudauthz 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cloudauthz-0.2.0.tar.gz | 4.5 kB | Without provenance | Details for cloudauthz-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cloudauthz-0.2.0-py2-none-any.whl | Python 2 | none | any | Details for cloudauthz-0.2.0-py2-none-any.whl |
Total release size: 12.0 kB
Release files / cloudauthz-0.2.0.tar.gz
| Download URL | cloudauthz-0.2.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4d64bee7f38de520cea76c2fd2d1d4679a3f381c01740e6b56b55b501ac0bc7
|
|
BLAKE2b-256 checksum How to use checksums |
e4fafb43e79262fcb71f1a59f4f271ba606e810f7358e76e5427b1d373027b2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.10
|
Release files / cloudauthz-0.2.0-py2-none-any.whl
| Download URL | cloudauthz-0.2.0-py2-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
6f401bc61ba55daf415fa1ddd2a355981817279fc145272e5e199246adced305
|
|
BLAKE2b-256 checksum How to use checksums |
dc8c82bcafc93de2a09a9baeda78b163384fd357681d1451d6237acbd2779589
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.10
|
Security for cloudauthz 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.