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\u003eThis interface is particularly useful for workflows like gRPC, which handle the entire HTTP2 stack internally and don't rely on \u003ccode\u003eBaseClientService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetAccessTokenForRequestAsync\u003c/code\u003e method, part of the \u003ccode\u003eITokenAccess\u003c/code\u003e interface, retrieves an access token and supports automatic token refreshing.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003eGetAccessTokenForRequestAsync\u003c/code\u003e requires an optional \u003ccode\u003eauthUri\u003c/code\u003e parameter specifying the resource URI the token grants access to, and a \u003ccode\u003ecancellationToken\u003c/code\u003e parameter for request cancellation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this resource is \u003ccode\u003e1.69.0\u003c/code\u003e, and the provided content also shows previous versions such as \u003ccode\u003e1.68.0\u003c/code\u003e, \u003ccode\u003e1.60.0\u003c/code\u003e, \u003ccode\u003e1.59.0\u003c/code\u003e, \u003ccode\u003e1.55.0\u003c/code\u003e and \u003ccode\u003e1.50.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]