public ScopedCredentialProvider(IEnumerable<string> scopes)
Creates a channel pool which will apply the specified scopes to the credentials if they require any.
A provider created with this overload is equivalent to calling ScopedCredentialProvider(IEnumerable<String>, Boolean)
with a second argument of false.
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides details on the \u003ccode\u003eScopedCredentialProvider\u003c/code\u003e class, a simple factory for scoped credentials that caches a scoped version of the default application credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScopedCredentialProvider\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Api.Gax.Rest\u003c/code\u003e namespace, and it inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, one taking an \u003ccode\u003eIEnumerable<string>\u003c/code\u003e of scopes, and the other taking both an \u003ccode\u003eIEnumerable<string>\u003c/code\u003e of scopes and a boolean \u003ccode\u003euseJwtWithScopes\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe current document describes version 4.0.0 of the \u003ccode\u003eScopedCredentialProvider\u003c/code\u003e, however, there are links to other versions, with 4.10.0 as the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe inherited members from the base \u003ccode\u003eObject\u003c/code\u003e class are listed and linked for further information.\u003c/p\u003e\n"]]],[],null,[]]