Package io.vrap.rmf.base.client.oauth2
Class ClientCredentialsTokenSupplier
java.lang.Object
io.vrap.rmf.base.client.AutoCloseableService
io.vrap.rmf.base.client.oauth2.BaseAuthTokenSupplier
io.vrap.rmf.base.client.oauth2.ClientCredentialsTokenSupplier
- All Implemented Interfaces:
TokenSupplier
,AutoCloseable
Token supplier using client credentials flow
-
Field Summary
Fields inherited from interface io.vrap.rmf.base.client.oauth2.TokenSupplier
LOGGER_AUTH
-
Constructor Summary
ConstructorDescriptionClientCredentialsTokenSupplier
(String clientId, String clientSecret, String scope, String tokenEndpoint, VrapHttpClient vrapHttpClient) ClientCredentialsTokenSupplier
(String clientId, String clientSecret, String scope, String tokenEndpoint, VrapHttpClient vrapHttpClient, ResponseSerializer serializer) -
Method Summary
Methods inherited from class io.vrap.rmf.base.client.oauth2.BaseAuthTokenSupplier
getToken
Methods inherited from class io.vrap.rmf.base.client.AutoCloseableService
close, closeQuietly, equals, hashCode
-
Constructor Details
-
ClientCredentialsTokenSupplier
public ClientCredentialsTokenSupplier(String clientId, String clientSecret, String scope, String tokenEndpoint, VrapHttpClient vrapHttpClient) -
ClientCredentialsTokenSupplier
public ClientCredentialsTokenSupplier(String clientId, String clientSecret, String scope, String tokenEndpoint, VrapHttpClient vrapHttpClient, ResponseSerializer serializer)
-
-
Method Details