Skip to main content

Swifty OAuth API

Project description

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.0.0
  • 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)
    oauth_token_post_request = rxfoundry.clients.swifty_oauth_api.OauthTokenPostRequest() # OauthTokenPostRequest | 

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
OAuthApi oauth_token_post POST /oauth/token/ Get a token
OAuthApi oauth_userinfo_post POST /oauth/userinfo/ Get user info

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

paul.tindall@rxfoundry.com

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

rxfoundry_clients_swifty_oauth_api-0.0.702.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file rxfoundry_clients_swifty_oauth_api-0.0.702.tar.gz.

File metadata

File hashes

Hashes for rxfoundry_clients_swifty_oauth_api-0.0.702.tar.gz
Algorithm Hash digest
SHA256 0e73eaad54923ecfda442f3d497276e0b05940feb293b40c3fad4b19134a19ce
MD5 83cd395ca346c02e29c030bbc503438e
BLAKE2b-256 4d33b250641b0d5a650a33cf5b57cc423b148c2bdaf3b8fc96c3f8cd4caaeeb6

See more details on using hashes here.

File details

Details for the file rxfoundry_clients_swifty_oauth_api-0.0.702-py3-none-any.whl.

File metadata

File hashes

Hashes for rxfoundry_clients_swifty_oauth_api-0.0.702-py3-none-any.whl
Algorithm Hash digest
SHA256 8b4e4d985e236934b0f8db573cfa3b1275f9b17c18a6aaaf4da1b4f7c404b6de
MD5 76279541278feca3b2fdddbb60746c0b
BLAKE2b-256 5cdb0170852fa1907a740096e8571d44b72f85ca097c0a8cc376e4f2f03d9c19

See more details on using hashes here.

Supported by

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