Package io.weaviate.client.v1.auth
Class BearerTokenFlow
java.lang.Object
io.weaviate.client.v1.auth.BearerTokenFlow
- All Implemented Interfaces:
Authentication
-
Constructor Summary
ConstructorsConstructorDescriptionBearerTokenFlow(String accessToken, long accessTokenLifetime, String refreshToken) -
Method Summary
Modifier and TypeMethodDescriptiongetAuthClient(Config config) getAuthClient(Config config, List<String> scopes)
-
Constructor Details
-
BearerTokenFlow
-
-
Method Details
-
getAuthClient
- Specified by:
getAuthClientin interfaceAuthentication- Throws:
AuthException
-
getAuthClient
- Specified by:
getAuthClientin interfaceAuthentication- Throws:
AuthException
-