Interface ClientCredentialsConfiguration
- All Superinterfaces:
io.micronaut.http.util.OutgoingRequestProcessorMatcher
,io.micronaut.core.util.Toggleable
- All Known Implementing Classes:
OauthClientConfigurationProperties.ClientCredentialsConfigurationProperties
public interface ClientCredentialsConfiguration
extends io.micronaut.core.util.Toggleable, io.micronaut.http.util.OutgoingRequestProcessorMatcher
Client credentials configuration.
- Since:
- 2.2.0
- Author:
- Sergio del Amo
-
Method Details
-
getScope
- Returns:
- Scope to be requested in the client credentials request.
-
getAdvancedExpiration
- Returns:
- The amount of time for a token obtained via client credentials grant to be considered expired prior to its expiration date.
-
getHeaderPropagation
@NonNull @NonNull Optional<ClientCredentialsHeaderTokenPropagatorConfiguration> getHeaderPropagation() -
getAdditionalRequestParams
-