Comments (1)
No there isn't - an access token would have an expiration time. What you can do is build your own TokenCredential class that uses whatever magic behind the scenes to be able to deliver new access tokens when requested. But none of that has anything to do with Cosmos DB - it is purely azure-core/azure-identity usage.
The TokenCredential interface is here: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core/src/main/java/com/azure/core/credential/TokenCredential.java
from azure-sdk-for-java.
Related Issues (20)
- [QUERY] HOT 1
- [BUG] We sometimes (incorrectly) get "Error sending. Size of the payload exceeded maximum message size" error when scheduling a message HOT 4
- [BUG] com.azure.resourcemanager.mysqlflexibleserver.models.Server object always returns "Enabled" for publicNetworkAccess property HOT 11
- [BUG]Missing availability strategy for batch request
- [FEATURE REQ] Add getBearerTokenProvider() method that return a callback to get token in Azure Identity HOT 2
- Azure File Share not supported with TokenCredential HOT 3
- [BUG] "This method can be called if AMQP Message body type is 'VALUE'. The actual type is [DATA]" error is logged. HOT 3
- [QUERY] ServiceBusSenderClient reactor onErrorDropped logs HOT 5
- Some project URLs are invalid for Key Vault JCA package
- [QUERY] Azure Spring Data Cosmos Partial Document Update: Do I need Id and _etag? HOT 4
- UUF - azure-dev-docs-pr - Long-running operations in the Azure SDK for Java
- [BUG] Connection reset by Azure HOT 9
- [QUERY] Multiple app registration in one spring boot application HOT 2
- [FEATURE REQ] Add description of how to override the default TokenCredential bean HOT 2
- [FEATURE REQ] Add examples for configuring common properties
- Turn on docs for com.azure.spring:spring-cloud-azure-appconfiguration-config-web
- [FEATURE REQ] [OpenAI] Need to add new properties for structured output HOT 1
- Refactor MSIToken
- [FEATURE REQ] Jdbc connection with mfa
- [BUG] RoleAssignment not working with Java but works through AZ CLI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-java.