@Requires(beans=NoncePersistence.class) @Singleton public class DefaultNonceFactory extends java.lang.Object implements NonceFactory
Constructor and Description |
---|
DefaultNonceFactory(NoncePersistence noncePersistence) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildNonce(io.micronaut.http.HttpRequest<?> request,
io.micronaut.http.MutableHttpResponse response) |
public DefaultNonceFactory(NoncePersistence noncePersistence)
noncePersistence
- The nonce persistence mechanism@Nonnull public java.lang.String buildNonce(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse response)
buildNonce
in interface NonceFactory
request
- The login requestresponse
- The authorization redirect response