@DefaultImplementation(value=DefaultStateFactory.class) public interface StateFactory
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildState(io.micronaut.http.HttpRequest<?> request,
io.micronaut.http.MutableHttpResponse response) |
default java.lang.String |
buildState(io.micronaut.http.HttpRequest<?> request,
io.micronaut.http.MutableHttpResponse response,
AuthorizationRequest authorizationRequest) |
@Nullable java.lang.String buildState(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse response)
request
- The original request prior redirectresponse
- The authorization redirect responsedefault java.lang.String buildState(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse response, @Nullable AuthorizationRequest authorizationRequest)
request
- The original request prior redirectresponse
- The authorization redirect responseauthorizationRequest
- the AuthorizationRequest