Package io.quarkus.oidc.common
Interface OidcResponseFilter
public interface OidcResponseFilter
Response filter which can be used to intercept HTTP responses from the OIDC provider.
Filter can be restricted to a specific OIDC endpoint with a
OidcEndpoint annotation.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classOIDC response context which provides access to the HTTP response status code, headers and body.static class -
Method Summary
Modifier and TypeMethodDescriptiondefault voidfilter(OidcResponseFilter.OidcResponseContext responseContext) Deprecated, for removal: This API element is subject to removal in a future version.default io.smallrye.mutiny.Uni<Void> filter(OidcResponseFilter.OidcResponseFilterContext responseContext) Filter OIDC responses asynchronously.
-
Method Details
-
filter
@Deprecated(since="3.31", forRemoval=true) default void filter(OidcResponseFilter.OidcResponseContext responseContext) Deprecated, for removal: This API element is subject to removal in a future version.use thefilter(OidcResponseContext)method insteadFilter OIDC responses.- Parameters:
responseContext- the response context which provides access to the HTTP response status code, headers and body.
-
filter
default io.smallrye.mutiny.Uni<Void> filter(OidcResponseFilter.OidcResponseFilterContext responseContext) Filter OIDC responses asynchronously. Blocking tasks can be run with theOidcResponseFilter.OidcResponseFilterContext.runBlocking(Runnable)method.- Parameters:
responseContext- the response context which provides access to the HTTP response status code, headers and body.- Returns:
Uni
-
filter(OidcResponseContext)method instead