Uses of Interface
io.strimzi.kafka.oauth.common.MetricsHandler
Packages that use MetricsHandler
-
Uses of MetricsHandler in io.strimzi.kafka.oauth.common
Methods in io.strimzi.kafka.oauth.common with parameters of type MetricsHandlerModifier and TypeMethodDescriptionstatic <T> THttpUtil.doWithRetries(int retries, long retryPauseMillis, MetricsHandler metricsHandler, HttpTask<T> task) A helper method that implements logic for retrying unsuccessful HTTP requestsstatic TokenInfoOAuthAuthenticator.loginWithClientAssertion(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String clientId, String clientAssertion, String clientAssertionType, boolean isJwt, PrincipalExtractor principalExtractor, String scope, String audience, int connectTimeout, int readTimeout, MetricsHandler metrics, int retries, long retryPauseMillis, boolean includeAcceptHeader, String grantType) Obtain an access token wrapped into TokenInfo by authenticating to the authorization server's token endpoint using client_credentials grant with client assertion (clientId + assertion + assertion type).static TokenInfoOAuthAuthenticator.loginWithClientSecret(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String clientId, String clientSecret, boolean isJwt, PrincipalExtractor principalExtractor, String scope, String audience, int connectTimeout, int readTimeout, MetricsHandler metrics, int retries, long retryPauseMillis, boolean includeAcceptHeader, String grantType) Obtain an access token wrapped into TokenInfo by authenticating to the authorization server's token endpoint using client_credentials grant (clientId + secret).static TokenInfoOAuthAuthenticator.loginWithPassword(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String username, String password, String clientId, String clientSecret, boolean isJwt, PrincipalExtractor principalExtractor, String scope, String audience, int connectTimeout, int readTimeout, MetricsHandler metrics, int retries, long retryPauseMillis, boolean includeAcceptHeader) Obtain an access token wrapped into TokenInfo by authenticating to the authorization server's token endpoint using password grant (username + password).static TokenInfoOAuthAuthenticator.loginWithRefreshToken(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String refreshToken, String clientId, String clientSecret, boolean isJwt, PrincipalExtractor principalExtractor, String scope, String audience, int connectTimeout, int readTimeout, MetricsHandler metrics, int retries, long retryPauseMillis, boolean includeAcceptHeader)