vdk-control-api-auth
vdk-control-api-auth is a plugin library that implements authentication utilities used by vdk-control-cli and other plugins.
Usage
This is a library plugin, not a runnable plugin, and it is intended to be used as a dependency for other plugins, which need to authenticate users.
To use the library within a plugin or another Versatile Data Kit component,
just import the Authentication class, and create an instance of it. The
different authentication flows require different parameters to be specified.
Once everything is done, in order to authenticate, call .authenticate() on
the Authentication instance.
Example Usage:
from vdk.plugin.control_api_auth.authentication import Authentication
auth = Authentication(
token="<oauth-api-token>",
authorization_url="https://some-authorization-endpoint",
auth_type="api-token",
)
auth.authenticate() # authenticate
auth.read_access_token() # fetch the cached access token
Build and testing
In order to build and test a plugin go to the plugin directory and use ../build-plugin.sh script to build it
Metadata
Release files for vdk-control-api-auth 0.1.1004516448
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vdk-control-api-auth-0.1.1004516448.tar.gz | 16.3 kB | Without provenance | Details for vdk-control-api-auth-0.1.1004516448.tar.gz |
Release files / vdk-control-api-auth-0.1.1004516448.tar.gz
| Download URL | vdk-control-api-auth-0.1.1004516448.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
317e21a5c58aa21d775dccd18b8362b9aa41d39ea4d05b833e6087797551a766
|
|
BLAKE2b-256 checksum How to use checksums |
abab773e56cda407300d29ae23bacd04937352031ccbaa672e0a2d71699f1d47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for vdk-control-api-auth 0.1.1004516448
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.