Interface AccessTokenRetrieverProperties
-
- All Known Subinterfaces:
ClientCredentialsFlowProperties
,PasswordFlowProperties
public interface AccessTokenRetrieverProperties
The access token retriever properties.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.springframework.util.MultiValueMap<String,String>
createBody()
Create http request body.String
createCacheKey()
Create cache key.default String
createCacheKeyHashed()
Create an hashed cache key.default Optional<BasicAuthProperties>
getBasicAuthProperties()
Gets basic auth properties.String
getTokenEndpoint()
Gets token endpoint.
-
-
-
Method Detail
-
getTokenEndpoint
String getTokenEndpoint()
Gets token endpoint.- Returns:
- the token endpoint
-
getBasicAuthProperties
default Optional<BasicAuthProperties> getBasicAuthProperties()
Gets basic auth properties.- Returns:
- the basic auth properties or
Optional.empty()
, if no basic auth is required
-
createCacheKey
String createCacheKey()
Create cache key.- Returns:
- the cache key
-
createCacheKeyHashed
default String createCacheKeyHashed()
Create an hashed cache key.- Returns:
- the hashed cache key
-
-