Interface PkceFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<PkceChallenge> buildChallenge​(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse<?> response, java.util.List<java.lang.String> supportedChallengeMethods)  
    • Method Detail

      • buildChallenge

        @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)
        Parameters:
        request - The original request prior redirect
        response - The authorization redirect response
        supportedChallengeMethods - Challenge methods supported by the authorization server
        Returns:
        A state parameter. An opaque value used to maintain state between the request and the callback.