[[["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 API Common Protos Client - Class Authentication (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.Authentication)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.Authentication)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.Authentication)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.Authentication)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.Authentication)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.Authentication) \nReference documentation and code samples for the Google API Common Protos Client class Authentication.\n\n`Authentication` defines the authentication configuration for API methods\nprovided by an API service.\n\nExample:\nname: calendar.googleapis.com\nauthentication:\nproviders:\n\n- id: google_calendar_auth jwks_uri: \u003chttps://www.googleapis.com/oauth2/v1/certs\u003e issuer: \u003chttps://securetoken.google.com\u003e rules:\n- selector: \"\\*\" requirements: provider_id: google_calendar_auth\n- selector: google.calendar.Delegate oauth: canonical_scopes: \u003chttps://www.googleapis.com/auth/calendar.read\u003e\n\nGenerated from protobuf message `google.api.Authentication`\n\nNamespace\n---------\n\nGoogle \\\\ Api\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRules\n\nA list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.\n\n### setRules\n\nA list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.\n\n### getProviders\n\nDefines a set of authentication providers that a service supports.\n\n### setProviders\n\nDefines a set of authentication providers that a service supports."]]