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.ObjectCreates 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 inGoogleAuthFiltervia the service id inside the corresponding request. Requires the user to set thegcp.http.client.auth.services.*.audienceproperty 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.StringPREFIX
-
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.StringgetAudience()java.lang.StringgetServiceId()voidsetAudience(java.lang.String audience)
-
-
-
Field Detail
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
-