Skip to main content

The token and service implementation of sciebo RDS

Project description

MaintainabilityTest Coverage

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

research-data-services-common-0.1.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

research_data_services_common-0.1-py2.py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page