Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

API: As frontend I want to know whether the authentication has been activated, not activated or deactivated for a given plugin #18

Open
Tracked by #60
EkimoCode opened this issue Aug 1, 2023 · 0 comments
Assignees

Comments

@EkimoCode
Copy link
Collaborator

EkimoCode commented Aug 1, 2023

As this is a property related to the plugin I would return it in the plugin object

I suggest to expose a property with these values:
0 = not activated => intial state.
1 = Incomplete Configuration=> project is created (secret and id) but there is no openAI token (see #15)
2 = deactivated => user configured it, but deactivated it
3 = active
the property might be an int enum.
An alternative would be to use two booleans, like IsOAuthConfigured and IsOauthActive. Agree with Fabio on which one (issue 61 )

@EkimoCode EkimoCode added this to the Authenticated AI users milestone Aug 1, 2023
@EkimoCode EkimoCode changed the title As frontend I want to have a boolean to know whether the authentication has been activated or not As frontend I want to know whether the authentication has been activated, not activated or deactivated for a given plugin Aug 1, 2023
@EkimoCode EkimoCode changed the title As frontend I want to know whether the authentication has been activated, not activated or deactivated for a given plugin API: As frontend I want to know whether the authentication has been activated, not activated or deactivated for a given plugin Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants