[[["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 Auth Library Client - Class FetchAuthTokenCache (1.47.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.47.1 (latest)](/php/docs/reference/auth/latest/FetchAuthTokenCache)\n- [1.47.0](/php/docs/reference/auth/1.47.0/FetchAuthTokenCache)\n- [1.46.0](/php/docs/reference/auth/1.46.0/FetchAuthTokenCache)\n- [1.45.2](/php/docs/reference/auth/1.45.2/FetchAuthTokenCache) \nReference documentation and code samples for the Google Auth Library Client class FetchAuthTokenCache.\n\nA class to implement caching for any object implementing\nFetchAuthTokenInterface\n\nNamespace\n---------\n\nGoogle \\\\ Auth\n\nMethods\n-------\n\n### __construct\n\n### getFetcher\n\n### fetchAuthToken\n\nImplements FetchAuthTokenInterface#fetchAuthToken.\n\nChecks the cache for a valid auth token and fetches the auth tokens\nfrom the supplied fetcher.\n\n### getCacheKey\n\nObtains a key that can used to cache the results of #fetchAuthToken.\n\n### getLastReceivedToken\n\nReturns an associative array with the token and\nexpiration time.\n\n### getClientName\n\nGet the client name from the fetcher.\n\n### signBlob\n\nSign a blob using the fetcher.\n\n### getQuotaProject\n\nGet the quota project used for this API request from the credentials\nfetcher.\n\n### getProjectId\n\nGet the Project ID from the fetcher.\n\n### getUniverseDomain\n\nGet the universe domain from the credential. This should always return\na string, and default to \"googleapis.com\" if no universe domain is\nconfigured.\n\n### updateMetadata\n\nUpdates metadata with the authorization token."]]