public void invalidateAll(Iterable<JwtContext> credentials) {
        credentials.forEach(context -> cache.invalidate(context.getJwt()));
    }
public void invalidateAll(Iterable<JwtContext> credentials) {
        credentials.forEach(context -> cache.invalidate(context.getJwt()));
    }
public void invalidateAll ( Iterable < JwtContext > credentials ) { credentials . forEach ( context -> cache . invalidate ( context . getJwt ( ) ) ) ; }
Discards any cached principal for the given collection of credentials.

@param credentials a collection of credentials
Discards any cached principal for the given collection of credentials .