Interface StateValidator
- All Known Implementing Classes:
DefaultStateValidator
Validates a state parameter.
Auth Request state parameter
- Since:
- 1.2.0
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
validate
void validate(@NonNull @NonNull io.micronaut.http.HttpRequest<?> request, @Nullable @Nullable State state) throws InvalidStateException Validates the provided state.- Parameters:
request
- The HTTP Requeststate
- The state value returned by the authorization server- Throws:
InvalidStateException
- If the state validation failed
-