Interface IBackchannelAuthenticationThrottlingService
- Namespace
- Fdyay.IdentityServer.Services
- Assembly
- Fdyay.IdentityServer.Core.dll
Decides whether a CIBA client is polling faster than it was told to (CIBA Core ยง10.2).
public interface IBackchannelAuthenticationThrottlingService
Methods
ShouldSlowDownAsync(string, BackChannelAuthenticationRequest, CancellationToken)
Records this poll and returns true if it arrived sooner than the interval allows.
Task<bool> ShouldSlowDownAsync(string authenticationRequestId, BackChannelAuthenticationRequest request, CancellationToken cancellationToken = default)
Parameters
authenticationRequestIdstringrequestBackChannelAuthenticationRequestcancellationTokenCancellationToken