public AuthenticationMethodHandler
@NotNull AuthenticationMethod getMethod()
boolean isSupportedForPayload(@NotNull
MethodRequestPayload payload)
@NotNull
java.lang.String getUsernameFromPayload(@NotNull
MethodRequestPayload payload)
@NotNull CustomParamsDTO initializeLogin(@NotNull MethodRequestPayload payload, @NotNull EntityAuthenticationMethod method)
void doLogin(@NotNull
MethodRequestPayload payload,
@NotNull
EntityAuthenticationMethod method)
@NotNull CustomParamsDTO initializeRegistration(@NotNull MethodRequestPayload payload)
@NotNull EntityAuthenticationMethod doRegister(@NotNull MethodRequestPayload payload, @NotNull CustomParamsDTO params, @NotNull Entity entity)
@Nullable EntityAuthenticationMethod getEntityMethod(@NotNull MethodRequestPayload payload)
void changePassword(@NotNull
java.lang.String newPassword,
@NotNull
EntityAuthenticationMethod method)
boolean checkPassword(@NotNull
MethodRequestPayload payload,
@NotNull
EntityAuthenticationMethod method)
boolean isPasswordExpired(@NotNull
EntityAuthenticationMethod method)
@NotNull
java.lang.String getUsername(@NotNull
EntityAuthenticationMethod method)