Class StaticBearerTokenProvider
java.lang.Object
org.apache.polaris.extension.auth.opa.token.StaticBearerTokenProvider
- All Implemented Interfaces:
AutoCloseable,BearerTokenProvider
A simple token provider that returns a static string value.
-
Constructor Details
-
StaticBearerTokenProvider
-
-
Method Details
-
getToken
Description copied from interface:BearerTokenProviderGet the current bearer token.- Specified by:
getTokenin interfaceBearerTokenProvider- Returns:
- the bearer token, or null if no token is available
-