weaviate.auth

Authentication class definitions.

class weaviate.auth.Auth[source]

Bases: object

static api_key(api_key: str) _APIKey[source]
static bearer_token(access_token: str, expires_in: int = 60, refresh_token: str | None = None) _BearerToken[source]
static client_credentials(client_secret: str, scope: str | List[str] | None = None) _ClientCredentials[source]
static client_password(username: str, password: str, scope: str | List[str] | None = None) _ClientPassword[source]
weaviate.auth.AuthApiKey

@deprecated; use wvc.Auth.api_key() instead.

weaviate.auth.AuthBearerToken

@deprecated; use wvc.Auth.api_key() instead.

weaviate.auth.AuthClientCredentials

@deprecated; use wvc.Auth.api_key() instead.

weaviate.auth.AuthClientPassword

@deprecated; use wvc.Auth.api_key() instead.