Class MockSpireJwtTokenRetriever
java.lang.Object
io.confluent.kafka.clients.plugins.auth.oauth.MockSpireJwtTokenRetriever
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetriever,org.apache.kafka.common.security.oauthbearer.internals.secured.Initable
public class MockSpireJwtTokenRetriever
extends Object
implements org.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetriever
For testing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretrieve()static voidupdateBearerCredential(String bearerToken) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetriever
closeMethods inherited from interface org.apache.kafka.common.security.oauthbearer.internals.secured.Initable
init
-
Constructor Details
-
MockSpireJwtTokenRetriever
-
-
Method Details
-
retrieve
- Specified by:
retrievein interfaceorg.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetriever
-
updateBearerCredential
-