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"]],[["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-03-21 UTC."],[[["This document outlines the available versions of the `GoogleCredentialsProvider.Builder`, with version 2.63.1 being the latest release."],["The `GoogleCredentialsProvider.Builder` class, inheriting from `java.lang.Object`, provides methods for configuring and building a `GoogleCredentialsProvider`."],["The builder includes methods to set and retrieve JWT-enabled scopes, the list of scopes to apply, and whether to use JWT access with scope."],["The `setJwtEnabledScopes` method configures which scopes are compatible with JWT tokens, allowing the client to opt-in to using JWT tokens for service authentication when appropriate."],["The `build()` method is used to create an instance of the `GoogleCredentialsProvider` with the configured settings."]]],[]]