fix and update

This commit is contained in:
lendry
2026-06-29 12:17:25 +03:00
parent 923a028cdd
commit 75ccbe5fc4
39 changed files with 1619 additions and 63 deletions

View File

@@ -316,6 +316,10 @@ export class OAuthCoreService {
return { clientId: client.clientId, name: client.name };
}
async issueFedcmTokens(userId: string, clientId: string, scopes: string[]) {
return this.issueOAuthTokens(userId, clientId, scopes);
}
private parseScopeSlugs(scope: string) {
return [...new Set(scope.split(/\s+/).map((item) => item.trim()).filter(Boolean))];
}