Interface IdRateLimiterType

All Superinterfaces:
com.io7m.repetoir.core.RPServiceType
All Known Subinterfaces:
IdRateLimitAdminLoginServiceType, IdRateLimitEmailVerificationServiceType, IdRateLimitPasswordResetServiceType, IdRateLimitUserLoginServiceType
All Known Implementing Classes:
IdRateLimitAdminLoginService, IdRateLimitEmailVerificationService, IdRateLimiter, IdRateLimitPasswordResetService, IdRateLimitUserLoginService

public interface IdRateLimiterType extends com.io7m.repetoir.core.RPServiceType
A rate limiting service.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface com.io7m.repetoir.core.RPServiceType

    description
  • Method Details

    • waitTime

      Duration waitTime()
      Returns:
      The suggested wait time if a rate limit is exceeded