You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Cosmos DB provider can use resource tokens for access. In some environments this must be asynchronously fetched after service initialization. Tokens also expire. Right now all token management must be done external to the provider.
Provide a configuration option for an asynchronous delegate that returns an endpoint and key. This would be fetched on creating the client the first time. Allow configuration that if there is an authorization issue, the delegate is called again in case the issue is the token expiration.
For server side solutions the delegate can be implemented to fetch the resource token from Cosmos directly. For client solutions it can be configured to make an API call to fetch the token.
The Cosmos DB provider can use resource tokens for access. In some environments this must be asynchronously fetched after service initialization. Tokens also expire. Right now all token management must be done external to the provider.
Provide a configuration option for an asynchronous delegate that returns an endpoint and key. This would be fetched on creating the client the first time. Allow configuration that if there is an authorization issue, the delegate is called again in case the issue is the token expiration.
For server side solutions the delegate can be implemented to fetch the resource token from Cosmos directly. For client solutions it can be configured to make an API call to fetch the token.
For example:
The text was updated successfully, but these errors were encountered: