Allows direct retrieval of access tokens to authenticate requests.
This is necessary for workflows where you don't want to use
BaseClientService to access the API.
(e.g. gRPC that implemenents the entire HTTP2 stack internally).
Gets an access token to authorize a request.
Implementations should handle automatic refreshes of the token
if they are supported.
The authUri might be required by some credential types
(e.g. the JWT access token) while other credential types
migth just ignore it.
[[["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\u003eITokenAccess\u003c/code\u003e interface allows for the direct retrieval of access tokens, enabling request authentication without using \u003ccode\u003eBaseClientService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetAccessTokenForRequestAsync\u003c/code\u003e method retrieves an access token, handling automatic token refreshes where supported.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eauthUri\u003c/code\u003e parameter in \u003ccode\u003eGetAccessTokenForRequestAsync\u003c/code\u003e may be required by certain credential types to determine the access scope.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetAccessTokenForRequestAsync\u003c/code\u003e method returns a string containing the access token as a \u003ccode\u003eTask\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this component is version 1.69.0, though many previous versions are available.\u003c/p\u003e\n"]]],[],null,[]]