public sealed class AccessTokenWithHeaders : object
Represents an access token that can be used to authorize a request.
The token might be accompanied by extra information that should be sent
in the form of headers.
[[["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 \u003ccode\u003eAccessTokenWithHeaders\u003c/code\u003e class represents an access token that can be used to authorize requests, potentially including extra header information.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties to access the \u003ccode\u003eAccessToken\u003c/code\u003e as a string and \u003ccode\u003eHeaders\u003c/code\u003e as a read-only dictionary of string keys and lists of string values.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor \u003ccode\u003eAccessTokenWithHeaders(string token, IReadOnlyDictionary<string, IReadOnlyList<string>> headers)\u003c/code\u003e initializes an instance with a token and an associated collection of headers.\u003c/p\u003e\n"],["\u003cp\u003eMethods \u003ccode\u003eAddHeaders(HttpRequestHeaders)\u003c/code\u003e and \u003ccode\u003eAddHeaders(HttpRequestMessage)\u003c/code\u003e allow for the addition of headers to a given header collection or request, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation pertains to version 1.50.0, and links to other versions, including the latest 1.69.0, are also provided.\u003c/p\u003e\n"]]],[],null,[]]