Module markov.auth.markov_auth
Classes
class MarkovAuthConstants (value, names=None, *, module=None, qualname=None, type=None, start=1)-
An enumeration.
Ancestors
- builtins.str
- enum.Enum
Class variables
var auth_service_url : Final
class MarkovAuthProvider-
Markov's custom authentication provider for API token based authentication.
Static methods
def get_api_token()-
Get api token from the secret store.
def is_api_token_available()def remove_saved_credentials()-
Remove saved tokens from the secret store.
def set_api_token(api_token: str)-
Set api to the secret store.
Methods
def attempt_api_token_login(self)-
Attempt to log in to MarkovML using API token.
def login(self, api_token)-
Login to MarkovML using API token. Set the api token in the secret store and attempt to loging to MarkovML.