> @@ -50,7 +50,7 @@ > public class JWTBearerTokenFlow implements OAuthFilter { > private static final Joiner ON_COMMA = Joiner.on(","); > > - private final String audience; > + @com.google.inject.Inject(optional = true) @Named(AUDIENCE) private > String audience;
This is marked optional to make the injector happy when other flows don't need this, but I'd add a `checkNotNull` validation in the `filter` method so we provide a proper feedback at runtime if this value is missing. --- 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/pull/941/files/4bb749e1a41d5818a8c5e327b92096dfe984e0b4#r58028203