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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["The `ITokenAccess` interface allows for the direct retrieval of access tokens, enabling request authentication without using `BaseClientService`."],["The `GetAccessTokenForRequestAsync` method retrieves an access token, with support for automatic token refreshing."],["The `GetAccessTokenForRequestAsync` method accepts an `authUri` string parameter, indicating the URI the token will grant access to, and a `CancellationToken` for task cancellation."],["The method returns a `Task\u003cstring\u003e` representing the access token."],["The latest version of `ITokenAccess` is 1.69.0, and previous versions are available from 1.68.0 to 1.50.0."]]],[]]