Package io.weaviate.client
Class WeaviateAuthClient
- java.lang.Object
-
- io.weaviate.client.WeaviateAuthClient
-
public class WeaviateAuthClient extends Object
-
-
Constructor Summary
Constructors Constructor Description WeaviateAuthClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WeaviateClientbearerToken(Config config, String accessToken, long accessTokenLifetime, String refreshToken)static WeaviateClientclientCredentials(Config config, String clientSecret, List<String> scopes)static WeaviateClientclientPassword(Config config, String username, String password, List<String> scopes)
-
-
-
Method Detail
-
clientCredentials
public static WeaviateClient clientCredentials(Config config, String clientSecret, List<String> scopes) throws AuthException
- Throws:
AuthException
-
clientPassword
public static WeaviateClient clientPassword(Config config, String username, String password, List<String> scopes) throws AuthException
- Throws:
AuthException
-
bearerToken
public static WeaviateClient bearerToken(Config config, String accessToken, long accessTokenLifetime, String refreshToken) throws AuthException
- Throws:
AuthException
-
-