- All Implemented Interfaces:
- io.micronaut.core.order.Ordered, io.micronaut.http.filter.HttpClientFilter, io.micronaut.http.filter.HttpFilter, java.lang.AutoCloseable
@Requires(env="gcp") @Requires(property="gcp.http.client.auth.patterns")
@Filter(patterns="${gcp.http.client.auth.patterns:/**}")
public class GoogleAuthFilter
extends java.lang.Object
implements io.micronaut.http.filter.HttpClientFilter, java.lang.AutoCloseable
A filter that allows service to service communication in GCP (https://cloud.google.com/run/docs/authenticating/service-to-service).
Requires the user to set the gcp.http.client.auth.patterns
property with the URI patterns
to apply the filter to. For example /**
for all requests.
- Since:
- 1.0.0
- Author:
- graemerocher