@Component public class EmailPasswordAuthenticationMethodHandlerImpl implements AuthenticationMethodHandler
public static com.antelopesystem.authframework.authentication.method.emailpassword.EmailPasswordAuthenticationMethodHandlerImpl.Companion Companion
public EmailPasswordAuthenticationMethodHandlerImpl(@NotNull
com.antelopesystem.crudframework.crud.handler.CrudHandler crudHandler,
@NotNull
SecuritySettingsHandler securitySettingsHandler)
@NotNull public AuthenticationMethod getMethod()
public boolean isSupportedForPayload(@NotNull
MethodRequestPayload payload)
@Nullable public EntityAuthenticationMethod getEntityMethod(@NotNull MethodRequestPayload payload)
public void doLogin(@NotNull
MethodRequestPayload payload,
@NotNull
EntityAuthenticationMethod method)
@NotNull public EntityAuthenticationMethod doRegister(@NotNull MethodRequestPayload payload, @NotNull CustomParamsDTO params, @NotNull Entity entity)
@NotNull
public java.lang.String getUsernameFromPayload(@NotNull
MethodRequestPayload payload)
public void changePassword(@NotNull
java.lang.String newPassword,
@NotNull
EntityAuthenticationMethod method)
public boolean checkPassword(@NotNull
MethodRequestPayload payload,
@NotNull
EntityAuthenticationMethod method)
public boolean isPasswordExpired(@NotNull
EntityAuthenticationMethod method)
@NotNull
public java.lang.String getUsername(@NotNull
EntityAuthenticationMethod method)