Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
getGoogleOidc
Optional. This authenticate method will apply Google OIDC tokens
signed by a GCP service account to the requests.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Eventarc V1 Client - Class AuthenticationConfig (2.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.5 (latest)](/php/docs/reference/cloud-eventarc/latest/V1.Pipeline.Destination.AuthenticationConfig)\n- [2.1.4](/php/docs/reference/cloud-eventarc/2.1.4/V1.Pipeline.Destination.AuthenticationConfig)\n- [2.0.1](/php/docs/reference/cloud-eventarc/2.0.1/V1.Pipeline.Destination.AuthenticationConfig)\n- [1.3.5](/php/docs/reference/cloud-eventarc/1.3.5/V1.Pipeline.Destination.AuthenticationConfig)\n- [1.2.2](/php/docs/reference/cloud-eventarc/1.2.2/V1.Pipeline.Destination.AuthenticationConfig)\n- [1.1.1](/php/docs/reference/cloud-eventarc/1.1.1/V1.Pipeline.Destination.AuthenticationConfig)\n- [1.0.5](/php/docs/reference/cloud-eventarc/1.0.5/V1.Pipeline.Destination.AuthenticationConfig) \nReference documentation and code samples for the Google Cloud Eventarc V1 Client class AuthenticationConfig.\n\nRepresents a config used to authenticate message requests.\n\nGenerated from protobuf message `google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Eventarc \\\\ V1 \\\\ Pipeline \\\\ Destination\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGoogleOidc\n\nOptional. This authenticate method will apply Google OIDC tokens\nsigned by a GCP service account to the requests.\n\n### hasGoogleOidc\n\n### setGoogleOidc\n\nOptional. This authenticate method will apply Google OIDC tokens\nsigned by a GCP service account to the requests.\n\n### getOauthToken\n\nOptional. If specified, an [OAuth\ntoken](https://developers.google.com/identity/protocols/OAuth2) will\nbe generated and attached as an `Authorization` header in the HTTP\nrequest.\n\nThis type of authorization should generally only be used when calling\nGoogle APIs hosted on \\*.googleapis.com.\n\n### hasOauthToken\n\n### setOauthToken\n\nOptional. If specified, an [OAuth\ntoken](https://developers.google.com/identity/protocols/OAuth2) will\nbe generated and attached as an `Authorization` header in the HTTP\nrequest.\n\nThis type of authorization should generally only be used when calling\nGoogle APIs hosted on \\*.googleapis.com.\n\n### getAuthenticationMethodDescriptor"]]