Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vdk-plugins] vdk-control-api-auth: Add api-token flow #822

Merged
merged 1 commit into from
May 3, 2022

Conversation

doks5
Copy link
Contributor

@doks5 doks5 commented May 3, 2022

As part of the ongoing work to extract the authentication login of
Versatile Data Kit into a stand-alone library and make it available
to all components (core and plugins) to use, we need to ensure that
the interface surface is as generic as possible.

This change introduces anAuthentication class, which will act as
the entry point for using the library and authenticating.

Additionally, the api token authentication flow from vdk-control-cli
is also adapted and added to vdk-control-api-auth.

Testing Done: Unit tests.

Signed-off-by: Andon Andonov [email protected]

@doks5 doks5 force-pushed the person/andonova/vdk-auth branch from 1521089 to cf7416b Compare May 3, 2022 07:44
@doks5 doks5 force-pushed the person/andonova/vdk-auth branch 3 times, most recently from af79e35 to 8690b44 Compare May 3, 2022 12:00
As part of the ongoing work to extract the authentication login of
Versatile Data Kit into a stand-alone library and make it available
to all components (core and plugins) to use, we need to ensure that
the interface surface is as generic as possible.

This change introduces an`Authentication` class, which will act as
the entry point for using the library and authenticating.

Additionally, the api token authentication flow from vdk-control-cli
is also adapted and added to vdk-control-api-auth.

Testing Done: Unit tests.

Signed-off-by: Andon Andonov <[email protected]>
@doks5 doks5 force-pushed the person/andonova/vdk-auth branch from 8690b44 to feade87 Compare May 3, 2022 13:10
@doks5 doks5 merged commit 173ac43 into main May 3, 2022
@doks5 doks5 deleted the person/andonova/vdk-auth branch May 3, 2022 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants