@DefaultImplementation(value=DefaultStateValidator.class) public interface StateValidator
Modifier and Type | Method and Description |
---|---|
void |
validate(io.micronaut.http.HttpRequest<?> request,
State state)
Validates the provided state.
|
void validate(@NonNull io.micronaut.http.HttpRequest<?> request, @Nullable State state) throws InvalidStateException
request
- The HTTP Requeststate
- The state value returned by the authorization serverInvalidStateException
- If the state validation failed