The token and service implementation of sciebo RDS
Project description
Research Data Services Common Package
This package make the most common modules in Sciebo RDS available in one place, so we do not have to maintain them in several places. In the RDS project, we use OAuth2 for authentication between numerious services, so we need a datastructure with methods, which supports this.
So this package implement 3 basic classes (User, Service, Token), which handles standard user-password authentication. If you need this classes with oauth2-support, you have to use the corresponding version (e.g. Service => Oauth2Service). (Notice: User does not have an oauth2-version, because token takes care of password or token and service takes care of everything else for oauth2.)
Usage
You can find some examples to use this package below. If you need more, please take a look into the tests or sciebo RDS (e.g. Token Storage).
from RDS import User
user1 = User("Max Mustermann")
Available Modules
- User
- Service (Oauth2Service)
- Token (Oauth2Token)
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 research-data-services-common-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9374aa83616aa50f383526c043c738df03a1998000eb6b4a50ec0d3d8d09e6ef |
|
MD5 | 694f3a22ca8089a5e85890e8099189cc |
|
BLAKE2b-256 | bf954e9268fd57a5d9619a9cdc56e5be59f6a746a045cbd6efb34b69c806f13a |
Hashes for research_data_services_common-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0d0d148fb1f3ead57f4f689470904b267cca195994c96d11d5e15dce5c6080 |
|
MD5 | 3467c795faf2e1fef0c8e11df1466293 |
|
BLAKE2b-256 | d51b9e2725097df3d2f26fbaccf23ccff31e619ae2e75562abdd318fa4438780 |