@DefaultImplementation(value=DefaultPkceFactory.class) public interface PkceFactory
Modifier and Type | Method and Description |
---|---|
java.util.Optional<PkceChallenge> |
buildChallenge(io.micronaut.http.HttpRequest<?> request,
io.micronaut.http.MutableHttpResponse<?> response,
java.util.List<java.lang.String> supportedChallengeMethods) |
@NonNull java.util.Optional<PkceChallenge> buildChallenge(@NonNull io.micronaut.http.HttpRequest<?> request, @NonNull io.micronaut.http.MutableHttpResponse<?> response, @Nullable java.util.List<java.lang.String> supportedChallengeMethods)
request
- The original request prior redirectresponse
- The authorization redirect responsesupportedChallengeMethods
- Challenge methods supported by the authorization server