Sets the scopes that are compatible with JWT tokens.
JWT Tokens don't support scopes, they only support audiences. Audiences allow access to
the entire service as opposed some subset (ie. access can't be restricted to use the scope
https://www.googleapis.com/auth/bigtable.data.readonly). A service client can opt-in
to using JWT tokens by specifying which scopes encompass the entire service. If any of those
scopes are present when the client is using ServiceAccountCredentials, then JWT
tokens will be used for authentication.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e class, detailing its methods for building and configuring credentials for Google services across various versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.63.1, but this page specifically references version 2.48.1, providing a historical archive of versions from 2.7.1 through to the latest.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e class is in a pre-GA beta phase and is subject to limited support and potential breaking changes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e allows setting scopes for credentials, supporting both JWT-enabled scopes and general scopes to apply to Application Default Credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetUseJwtAccessWithScope\u003c/code\u003e method, a beta feature, allows the use of self-signed JWTs for service account credentials.\u003c/p\u003e\n"]]],[],null,[]]