Package io.micronaut.gcp.http.client
Class GoogleAuthServiceConfig
java.lang.Object
io.micronaut.gcp.http.client.GoogleAuthServiceConfig
Creates a GoogleAuthServiceConfig for each Service configured under
gcp.http.client.auth.services.*.audience. The audience can be configured per
service and the correct config bean is selected in
GoogleAuthFilter
via the service id
inside the corresponding request.
Requires the user to set the gcp.http.client.auth.services.*.audience
property with the
desired audience to create the corresponding config bean.- Since:
- 1.0.0
- Author:
- kgreulich
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
GoogleAuthServiceConfig
-
-
Method Details
-
getServiceId
- Returns:
- the audience service identifier
-
getAudience
- Returns:
- the desired audience
-
setAudience
- Parameters:
audience
- set the desired audience
-