feat: добавил отображение аватарки
gitea-push-docker.yml (push) Invalid workflow file
Backend CI / build-and-test (push) Successful in 3m34s
Frontend CI / build-and-check (push) Failing after 21s

This commit is contained in:
serega404 committed 2026-10-01 00:17:16 +03:00
1 parent 34e450815b
commit 038f0d89a6
22 files changed
+598 -28

No files matched your search

@@ -6,6 +6,11 @@ public interface IMicrosoftAuthClient
string authorizationCode,
string redirectUri,
CancellationToken cancellationToken = default);
Task SaveTokenCacheAsync(int userId, MicrosoftTokenResult result, CancellationToken cancellationToken = default);
Task<MicrosoftPhotoResult?> GetPhotoAsync(int userId, CancellationToken cancellationToken = default);
Task RemoveTokenCacheAsync(int userId, CancellationToken cancellationToken = default);
}
public record MicrosoftTokenResult(string IdToken);
public record MicrosoftTokenResult(string IdToken, byte[]? TokenCache = null, string? AccountId = null);
public record MicrosoftPhotoResult(byte[] Content, string ContentType);