Skip to main content

Braincube Token Getter

Braincube Token Getter is small program that uses the braincube sso in order to obtain a temporary token.

The program uses the flask python framework.

Installation

pip install braincube-token-getter

Usage

Create a new configuration

By default the new configuration is stored in ~/.braincube/ but the option -p or --path can be used to specify a specific configuration directory.

braincube-token-getter -c -p my_directory

The program will ask for a Baincube application Client ID and Client Secret. If you do not know how to find these informations or how to create a Braincube application, see the section Create a Braincube application.

Request a token

braincube-token-getter -t

The token is added to the my_directory/config.json file.

Note: your browser may warn you with a Security risk because your ssl certificate is not known by firefox or chrome. In this case click on Advanced... and Accept the Risk an Continue.

Create a Braincube application

  1. Connect to mybraincube.com/

  2. Go to Configure by clicking on you username on the top left corner.

  3. Go to application on the thin horizontal menu bar just below the black header.

  4. Either select an existing application you want to use or create a new one with the +/- icon.

  5. Note that the url of your application should be https://localhost:5000/token so that the program gets the right url when it logs in.

Metadata

Release files for braincube-token-getter 0.0.2

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

Source distribution (sdist)

Source distribution for braincube-token-getter 0.0.2
File Size Uploaded Provenance Actions
braincube_token_getter-0.0.2.tar.gz 5.0 kB Without provenance Details for braincube_token_getter-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for braincube-token-getter 0.0.2
File Interpreter ABI Platform Actions
braincube_token_getter-0.0.2-py3-none-any.whl Python 3 none any Details for braincube_token_getter-0.0.2-py3-none-any.whl

Total release size: 10.5 kB

Release files / braincube_token_getter-0.0.2.tar.gz

Download URL braincube_token_getter-0.0.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
12b4a53bce4f9e9ff4647ce0d24b86e4a2f15e525c5f5bf37915452e60c582bf
BLAKE2b-256 checksum
How to use checksums
35286892830b3a897e03b651b31f21d6eb917f16e0da9e309adb07ef036e18e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.5 Linux/4.19.0-9-amd64

Release files / braincube_token_getter-0.0.2-py3-none-any.whl

Download URL braincube_token_getter-0.0.2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7c0f16e79b56a8a61938a337b9889752676f9f67b4c90be02597dc099a93186
BLAKE2b-256 checksum
How to use checksums
acc31278607dab71202914f38f525df0939e872f0448ec6ad30a23b13842a57b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.5 Linux/4.19.0-9-amd64

Security for braincube-token-getter 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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