Package io.vrap.rmf.base.client.oauth2
Class AnonymousFlowTokenSupplier
java.lang.Object
io.vrap.rmf.base.client.AutoCloseableService
io.vrap.rmf.base.client.oauth2.BaseAuthTokenSupplier
io.vrap.rmf.base.client.oauth2.AnonymousFlowTokenSupplier
- All Implemented Interfaces:
RefreshableTokenSupplier
,TokenSupplier
,AutoCloseable
public class AnonymousFlowTokenSupplier
extends BaseAuthTokenSupplier
implements RefreshableTokenSupplier
-
Field Summary
Fields inherited from interface io.vrap.rmf.base.client.oauth2.TokenSupplier
LOGGER_AUTH
-
Constructor Summary
ConstructorDescriptionAnonymousFlowTokenSupplier
(String clientId, String clientSecret, String scope, String tokenEndpoint, RefreshFlowTokenSupplier refreshFlowTokenSupplier, VrapHttpClient vrapHttpClient) AnonymousFlowTokenSupplier
(String clientId, String clientSecret, String scope, String tokenEndpoint, RefreshFlowTokenSupplier refreshFlowTokenSupplier, 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
Methods inherited from interface io.vrap.rmf.base.client.oauth2.TokenSupplier
getToken
-
Constructor Details
-
AnonymousFlowTokenSupplier
public AnonymousFlowTokenSupplier(String clientId, String clientSecret, String scope, String tokenEndpoint, RefreshFlowTokenSupplier refreshFlowTokenSupplier, VrapHttpClient vrapHttpClient) -
AnonymousFlowTokenSupplier
public AnonymousFlowTokenSupplier(String clientId, String clientSecret, String scope, String tokenEndpoint, RefreshFlowTokenSupplier refreshFlowTokenSupplier, VrapHttpClient vrapHttpClient, ResponseSerializer serializer)
-
-
Method Details
-
refreshToken
- Specified by:
refreshToken
in interfaceRefreshableTokenSupplier
-
toString
-
reflectionHashCode
public int reflectionHashCode()
-