Interface NonceFactory
- All Known Implementing Classes:
DefaultNonceFactory
Generates a nonce. A String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
buildNonce
(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse response)
-
Method Details
-
buildNonce
@NonNull @NonNull String buildNonce(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse response) - Parameters:
request
- The login requestresponse
- The authorization redirect response- Returns:
- A nonce. A String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
-