Interface ReactiveCompromisedPasswordChecker
- All Known Implementing Classes:
HaveIBeenPwnedRestApiReactivePasswordChecker
public interface ReactiveCompromisedPasswordChecker
A Reactive API for checking if a password has been compromised.
- Since:
- 6.3
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<CompromisedPasswordDecision>Check whether the password is compromised.
-
Method Details
-
check
Check whether the password is compromised. If password is null, then the return value must be false forCompromisedPasswordDecision.isCompromised()since a null password represents no password (e.g. the user leverages Passkeys instead).- Parameters:
password- the password to check- Returns:
- a
Monocontaining theCompromisedPasswordDecision
-