Feature chore bug 005 #19

Merged
iamdoubz merged 106 commits from feature_chore_bug_005 into main 2026-07-07 22:02:41 -05:00
Showing only changes of commit a48550da1e - Show all commits
+4 -1
View File
@@ -1771,7 +1771,10 @@ fn now_unix() -> i64 {
/// `pub(crate)` so `calendar::GraphSource` (M4.4) can reuse it too — same /// `pub(crate)` so `calendar::GraphSource` (M4.4) can reuse it too — same
/// Microsoft identity platform + token-set shape as `OneDriveTarget`. /// Microsoft identity platform + token-set shape as `OneDriveTarget`.
#[cfg(feature = "sync")] #[cfg(feature = "sync")]
pub(crate) async fn resolve_access_token(kind: &str, credential_ref: &str) -> Result<String, SyncError> { pub(crate) async fn resolve_access_token(
kind: &str,
credential_ref: &str,
) -> Result<String, SyncError> {
let provider = oauth::provider_for(kind) let provider = oauth::provider_for(kind)
.ok_or_else(|| SyncError::Upload(format!("unknown oauth provider {kind}")))?; .ok_or_else(|| SyncError::Upload(format!("unknown oauth provider {kind}")))?;
let client_id = provider.client_id()?; let client_id = provider.client_id()?;