Package io.quarkus.oidc
Interface TokenIntrospectionCache
-
- All Known Implementing Classes:
DefaultTokenIntrospectionUserInfoCache
public interface TokenIntrospectionCacheToken introspection cache.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>addIntrospection(String token, TokenIntrospection introspection, OidcTenantConfig oidcConfig, OidcRequestContext<Void> requestContext)Add a newTokenIntrospectionresult to the cache.io.smallrye.mutiny.Uni<TokenIntrospection>getIntrospection(String token, OidcTenantConfig oidcConfig, OidcRequestContext<TokenIntrospection> requestContext)Get the cachedTokenIntrospectionresult.
-
-
-
Method Detail
-
addIntrospection
io.smallrye.mutiny.Uni<Void> addIntrospection(String token, TokenIntrospection introspection, OidcTenantConfig oidcConfig, OidcRequestContext<Void> requestContext)
Add a newTokenIntrospectionresult to the cache.- Parameters:
token- the token which has been introspectedintrospection- the token introspection resultoidcConfig- the tenant configurationrequestContext- the request context which can be used to run the blocking tasks
-
getIntrospection
io.smallrye.mutiny.Uni<TokenIntrospection> getIntrospection(String token, OidcTenantConfig oidcConfig, OidcRequestContext<TokenIntrospection> requestContext)
Get the cachedTokenIntrospectionresult.- Parameters:
token- the token which has to be introspectedoidcConfig- the tenant configurationrequestContext- the request context which can be used to run the blocking tasks
-
-