Package io.micronaut.gcp.http.client
Class GoogleAuthServiceConfig
- java.lang.Object
-
- io.micronaut.gcp.http.client.GoogleAuthServiceConfig
-
@EachProperty("gcp.http.client.auth.services") public class GoogleAuthServiceConfig extends java.lang.Object
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 inGoogleAuthFilter
via the service id inside the corresponding request. Requires the user to set thegcp.http.client.auth.services.*.audience
property with the desired audience to create the corresponding config bean.- Since:
- 1.0.0
- Author:
- kgreulich
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFIX
-
Constructor Summary
Constructors Constructor Description GoogleAuthServiceConfig(java.lang.String serviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAudience()
java.lang.String
getServiceId()
void
setAudience(java.lang.String audience)
-
-
-
Field Detail
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
-