Class ApiErrorChallengeSender
java.lang.Object
io.stargate.sgv2.api.common.security.challenge.impl.ApiErrorChallengeSender
- All Implemented Interfaces:
ChallengeSender,BiFunction<io.vertx.ext.web.RoutingContext,io.quarkus.vertx.http.runtime.security.ChallengeData, io.smallrye.mutiny.Uni<Boolean>>
Responds with API error on send challenge.
-
Constructor Summary
ConstructorsConstructorDescriptionApiErrorChallengeSender(String headerName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
ApiErrorChallengeSender
public ApiErrorChallengeSender(String headerName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
apply
public io.smallrye.mutiny.Uni<Boolean> apply(io.vertx.ext.web.RoutingContext context, io.quarkus.vertx.http.runtime.security.ChallengeData challengeData) - Specified by:
applyin interfaceBiFunction<io.vertx.ext.web.RoutingContext,io.quarkus.vertx.http.runtime.security.ChallengeData, io.smallrye.mutiny.Uni<Boolean>>
-