Skip to main content

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

Download files

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

Source Distribution

vdk-control-api-auth-0.1.960988784.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file vdk-control-api-auth-0.1.960988784.tar.gz.

File metadata

File hashes

Hashes for vdk-control-api-auth-0.1.960988784.tar.gz
Algorithm Hash digest
SHA256 873e596d5d85cbe4b92a9674ad554cff1377338b9da8bf76513ee8d1d8b9c2c2
MD5 ab4ca3adc71008b1d35eba2ef354bdea
BLAKE2b-256 301cc48a29a57a2c496708800550440bce5bc88c078d55ac8551ead9adc743d6

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1431637373

1 file

0.1.1190994517

1 file

0.1.1184833162

1 file

0.1.1004516448

1 file

0.1.983985326

1 file

0.1.981814910

1 file

0.1.961233967

1 file

This release

0.1.960988784 This release

1 file

0.1.948436673

1 file

0.1.824443273

1 file

0.1.715017056

1 file

0.1.689782580

1 file

0.1.664990419

1 file

0.1.550932039

1 file

0.1.542825896

1 file

0.1.540773493

1 file

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