> + * <h3>Cache</h3>
> + * This maintains a time-based Bearer Token cache. By default expires after 
> 59 minutes
> + * (the maximum time a token is valid is 60 minutes).
> + * This cache and expiry period is system-wide and does not attend to 
> per-instance expiry time
> + * (e.g. "expires_in" from Google Compute -- which is set to the standard 
> 3600 seconds).
> + */
> +public class ClientCredentialsSecretFlow implements OAuthFilter {
> +    private static final Joiner ON_COMMA = Joiner.on(",");
> +
> +    private final Supplier<Credentials> credentialsSupplier;
> +    private final OAuthScopes scopes;
> +    private final long tokenDuration;
> +    private final String resource;
> +    private final LoadingCache<ClientSecret, Token> tokenCache;
> +
> +    public static class TestClientCredentialsSecretFlow extends 
> ClientCredentialsSecretFlow {

Oh, then I'll take care of moving that class too to the test scope :) Thanks 
for spotting!

> But actually isn't needed as the tests cover functionality.

Then let's just remove it.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/250/files/f7cc1b437f11378e105bba552e3cfee9d7491872#r57624256

Reply via email to