> + * <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 {
Move this class to a src/test/java.
---
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#r57579126