@Component public class DeviceListener implements LoginListener, RegistrationListener, ForgotPasswordListener
public DeviceListener(@NotNull
AuthenticationValidator authenticationValidator,
@NotNull
com.antelopesystem.crudframework.crud.handler.CrudHandler crudHandler,
@NotNull
EntityDeviceHandler entityDeviceHandler,
@NotNull
SecuritySettingsHandler securitySettingsHandler)
@Nullable public java.lang.String getType()
public void onLoginSuccess(@NotNull
MethodRequestPayload payload,
@NotNull
EntityAuthenticationMethod method,
@NotNull
AuthToken authToken,
@NotNull
DeviceInfo deviceInfo)
public void onLoginFailure(@NotNull
MethodRequestPayload payload,
@NotNull
EntityAuthenticationMethod method,
@NotNull
DeviceInfo deviceInfo,
@NotNull
java.lang.String error)
public void onRegistrationSuccess(@NotNull
MethodRequestPayload payload,
@NotNull
EntityAuthenticationMethod method,
@NotNull
AuthToken authToken,
@NotNull
DeviceInfo deviceInfo)
public void onForgotPasswordInitialized(@NotNull
java.lang.String token,
@NotNull
EntityAuthenticationMethod method,
@NotNull
DeviceInfo deviceInfo)
public void onForgotPasswordSuccess(@NotNull
ForgotPasswordToken token,
@NotNull
EntityAuthenticationMethod method,
@NotNull
DeviceInfo deviceInfo)