Skip to main content

rxfoundry.clients.swifty-oauth-api

API for the Swifty OAuth Backend

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.16.0.BUILD
  • Package version: 1.0.0
  • Generator version: 7.13.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import rxfoundry.clients.swifty_oauth_api

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import rxfoundry.clients.swifty_oauth_api

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import rxfoundry.clients.swifty_oauth_api
from rxfoundry.clients.swifty_oauth_api.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = rxfoundry.clients.swifty_oauth_api.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with rxfoundry.clients.swifty_oauth_api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = rxfoundry.clients.swifty_oauth_api.OAuthApi(api_client)
    get_token_request = rxfoundry.clients.swifty_oauth_api.GetTokenRequest() # GetTokenRequest | 

    try:
        # Get a token
        api_response = api_instance.get_token(get_token_request)
        print("The response of OAuthApi->get_token:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling OAuthApi->get_token: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
OAuthApi get_token POST /oauth/token/ Get a token
OAuthApi get_user_info POST /oauth/userinfo/ Get user info
OAuthApi revoke_token POST /oauth/revoke_token/ Revoke a token

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

opaque_token

  • Type: Bearer authentication (opaque)

Author

paul.tindall@rxfoundry.com

Release files for rxfoundry.clients.swifty-oauth-api 1.16.0.5441

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rxfoundry.clients.swifty-oauth-api 1.16.0.5441
File Size Uploaded
rxfoundry_clients_swifty_oauth_api-1.16.0.5441.tar.gz 23.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rxfoundry.clients.swifty-oauth-api 1.16.0.5441
File Interpreter ABI Platform
rxfoundry_clients_swifty_oauth_api-1.16.0.5441-py3-none-any.whl Python 3 none any Details

Total release size: 54.4 kB

Release files / rxfoundry_clients_swifty_oauth_api-1.16.0.5441.tar.gz

Download URL rxfoundry_clients_swifty_oauth_api-1.16.0.5441.tar.gz
Size 23.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fb3d2786fa71aff97bfb4360533b44514f0d93d427bbc0bcf3e93e76f88b85af
BLAKE2b-256 checksum
How to use checksums
32ff1c0d3577828db984c9960798167d86fde179bbba688628075bbe635b8639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.3 Linux/6.12.94+

Release files / rxfoundry_clients_swifty_oauth_api-1.16.0.5441-py3-none-any.whl

Download URL rxfoundry_clients_swifty_oauth_api-1.16.0.5441-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de5f9baa6a5fedf0bd1b9efffc1748bf771f46387e9de08a5f2cfc5e76ab133d
BLAKE2b-256 checksum
How to use checksums
e6a1aeb0c751ef7efb778877f030293a062ba3de2b26c989b30865dd5e2c3ad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.3 Linux/6.12.94+

Release history Release notifications | RSS feed

This release

1.16.0.5441 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page