Interface JWKSetSource<C extends SecurityContext>

    • Method Detail

      • getJWKSet

        JWKSet getJWKSet​(JWKSetCacheRefreshEvaluator refreshEvaluator,
                         long currentTime,
                         C context)
                  throws KeySourceException
        Gets the JWK set.
        Parameters:
        refreshEvaluator - Controls whether refresh of the JWK set cache (if utilised by the source) is required.
        currentTime - The current time, in milliseconds since the Unix epoch.
        context - Optional context, null if not required.
        Returns:
        The JWK set.
        Throws:
        KeySourceException - If JWK set retrieval failed.