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>, bool)
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\u003eThe latest version of \u003ccode\u003eScopedCredentialProvider\u003c/code\u003e is 4.10.0, with prior versions including 4.8.0, 4.4.0, 4.3.1, 4.2.0, 4.0.0, and 3.2.0 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eScopedCredentialProvider\u003c/code\u003e is a class designed for caching a scoped version of the default application credentials, avoiding the need for repeated authentications.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and includes inherited members such as \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, and \u003ccode\u003eGetType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors, one taking an \u003ccode\u003eIEnumerable<string>\u003c/code\u003e for scopes, and the other with an additional \u003ccode\u003ebool\u003c/code\u003e parameter \u003ccode\u003euseJwtWithScopes\u003c/code\u003e to prefer self-signed JWTs over OAuth tokens when scopes are set.\u003c/p\u003e\n"],["\u003cp\u003eThe ScopedCredentialProvider class is found in the \u003ccode\u003eGoogle.Api.Gax.Rest\u003c/code\u003e namespace, and can be found in the Google.Api.Gax.Rest.dll assembly.\u003c/p\u003e\n"]]],[],null,[]]