public interface PkcePersistence
Modifier and Type | Method and Description |
---|---|
void |
persistPkce(io.micronaut.http.HttpRequest<?> request,
io.micronaut.http.MutableHttpResponse<?> response,
Pkce pkce)
Persists the PKCE for later retrieval.
|
java.util.Optional<java.lang.String> |
retrieveCodeVerifier(io.micronaut.http.HttpRequest<?> request)
Retreive the code verifier.
|
@NonNull java.util.Optional<java.lang.String> retrieveCodeVerifier(@NonNull io.micronaut.http.HttpRequest<?> request)
request
- The requestvoid persistPkce(@NonNull io.micronaut.http.HttpRequest<?> request, @NonNull io.micronaut.http.MutableHttpResponse<?> response, @NonNull Pkce pkce)
request
- The login requestresponse
- The authorization redirect responsepkce
- The PKCE to persist