Uses of Class
com.irurueta.authserver.authorization.api.web.ratelimit.FixedWindowBuckets
Packages that use FixedWindowBuckets
Package
Description
Self-service account REST API: registration, e-mail verification, password change and password reset.
OAuth 2.0 Device Authorization Grant (RFC 8628) for input-constrained clients, such as a command line tool: the
protocol customizer that wires the device authorization and verification endpoints, the guard that applies the
multi-factor policy and the limit on the attempts to the verification endpoint, and the verification page.
One-time token authentication: e-mail and SMS codes and magic links as a primary sign-in method and as a second
factor, the per-channel factors, the rate limits, the providers and filters, and the phone management API and
account page.
-
Uses of FixedWindowBuckets in com.irurueta.authserver.authorization.api.web.account
Fields in com.irurueta.authserver.authorization.api.web.account declared as FixedWindowBucketsModifier and TypeFieldDescriptionprivate final FixedWindowBucketsAccountRateLimiter.clientsBuckets per client address.private final FixedWindowBucketsAccountRateLimiter.emailsBuckets per (lower-cased) e-mail address.Methods in com.irurueta.authserver.authorization.api.web.account with parameters of type FixedWindowBucketsModifier and TypeMethodDescriptionprivate static voidAccountRateLimiter.consume(FixedWindowBuckets buckets, String key, int limit) Takes one token from the bucket of a key, creating the bucket on first use. -
Uses of FixedWindowBuckets in com.irurueta.authserver.authorization.api.web.implicit
Fields in com.irurueta.authserver.authorization.api.web.implicit declared as FixedWindowBucketsModifier and TypeFieldDescriptionprivate final FixedWindowBucketsDeviceVerificationRateLimiter.clientsBuckets per client address.private final FixedWindowBucketsDeviceVerificationRateLimiter.usersBuckets per signed-in user. -
Uses of FixedWindowBuckets in com.irurueta.authserver.authorization.api.web.ott
Fields in com.irurueta.authserver.authorization.api.web.ott declared as FixedWindowBucketsModifier and TypeFieldDescriptionprivate final FixedWindowBucketsOttRateLimiter.generationClientsBuckets of the token requests per client address.private final FixedWindowBucketsOttRateLimiter.generationIdentifiersBuckets of the token requests per identifier.private final FixedWindowBucketsOttRateLimiter.verificationClientsBuckets of the submissions per client address.private final FixedWindowBucketsOttRateLimiter.verificationIdentifiersBuckets of the submissions per identifier.Methods in com.irurueta.authserver.authorization.api.web.ott that return FixedWindowBucketsModifier and TypeMethodDescriptionprivate FixedWindowBucketsBuilds the buckets of one kind of key.Methods in com.irurueta.authserver.authorization.api.web.ott with parameters of type FixedWindowBucketsModifier and TypeMethodDescriptionprivate voidOttRateLimiter.check(FixedWindowBuckets clients, int clientLimit, FixedWindowBuckets identifiers, int identifierLimit, String clientAddress, String identifier) Applies the client and the identifier limits of one kind of request.private static voidOttRateLimiter.consume(FixedWindowBuckets buckets, String key, int limit) Takes one token from the bucket of a key.