Interface JwtValidateKeyCollector


  • public interface JwtValidateKeyCollector
    Collects JwtValidateKey instances for JWT validation.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • setFailure

        void setFailure​(java.lang.Throwable cause,
                        long timeToNextCheck,
                        java.util.concurrent.TimeUnit unit)
        Indicates failure in retrieving the JwtValidateKey instances.
        Parameters:
        cause - Cause of the failure.
        timeToNextCheck - Allows overriding the default poll refresh interval. This typically allows retrying earlier than the default refresh period.
        unit - TimeUnit for the next time to check.