Package io.vrap.rmf.base.client.oauth2
Class RefreshFlowTokenSupplier
java.lang.Object
io.vrap.rmf.base.client.AutoCloseableService
io.vrap.rmf.base.client.oauth2.BaseAuthTokenSupplier
io.vrap.rmf.base.client.oauth2.RefreshFlowTokenSupplier
- All Implemented Interfaces:
RefreshableTokenSupplier,TokenSupplier,AutoCloseable
public class RefreshFlowTokenSupplier
extends BaseAuthTokenSupplier
implements RefreshableTokenSupplier
-
Field Summary
Fields inherited from interface io.vrap.rmf.base.client.oauth2.TokenSupplier
LOGGER_AUTH -
Constructor Summary
ConstructorsConstructorDescriptionRefreshFlowTokenSupplier(String clientId, String clientSecret, String tokenEndpoint, TokenStorage tokenStorage, VrapHttpClient vrapHttpClient) RefreshFlowTokenSupplier(String clientId, String clientSecret, String tokenEndpoint, TokenStorage tokenStorage, VrapHttpClient vrapHttpClient, ResponseSerializer serializer) -
Method Summary
Methods inherited from class io.vrap.rmf.base.client.AutoCloseableService
close, closeQuietly, equals, hashCode
-
Constructor Details
-
RefreshFlowTokenSupplier
public RefreshFlowTokenSupplier(String clientId, String clientSecret, String tokenEndpoint, TokenStorage tokenStorage, VrapHttpClient vrapHttpClient) -
RefreshFlowTokenSupplier
public RefreshFlowTokenSupplier(String clientId, String clientSecret, String tokenEndpoint, TokenStorage tokenStorage, VrapHttpClient vrapHttpClient, ResponseSerializer serializer)
-
-
Method Details
-
refreshToken
- Specified by:
refreshTokenin interfaceRefreshableTokenSupplier
-
getToken
- Specified by:
getTokenin interfaceTokenSupplier- Overrides:
getTokenin classBaseAuthTokenSupplier
-
toString
-
reflectionHashCode
public int reflectionHashCode()
-