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 outlines the \u003ccode\u003eScopedCredentialProvider\u003c/code\u003e class, a factory for caching scoped credentials to prevent repeated authentication, found within the \u003ccode\u003eGoogle.Api.Gax.Rest\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScopedCredentialProvider\u003c/code\u003e class inherits from the base \u003ccode\u003eObject\u003c/code\u003e class and includes methods like \u003ccode\u003eToString()\u003c/code\u003e, \u003ccode\u003eEquals()\u003c/code\u003e, and \u003ccode\u003eGetHashCode()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: one that takes a collection of scopes (\u003ccode\u003eIEnumerable<string>\u003c/code\u003e) and another that takes scopes and a boolean flag (\u003ccode\u003euseJwtWithScopes\u003c/code\u003e) for self-signed JWT preferences.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the parameters for both constructors, specifying the \u003ccode\u003escopes\u003c/code\u003e parameter's requirements and the \u003ccode\u003euseJwtWithScopes\u003c/code\u003e flag's function in controlling token preferences.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a list of available documentation versions for the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e library, ranging from version 3.2.0 to the latest 4.10.0, each with links to their respective \u003ccode\u003eScopedCredentialProvider\u003c/code\u003e documentation.\u003c/p\u003e\n"]]],[],null,[]]