feat(frontends,security,api,ui): a frontend can hold a token scope of its own
This commit is contained in:
1 parent
60782d6276
commit
e79e9fc149
11 files changed
+245
-21
No files matched your search
@@ -12,6 +12,7 @@ import type {
|
||||
LimitsResponse,
|
||||
MemoryFile,
|
||||
MemoryTree,
|
||||
ScopeRow,
|
||||
SearchResponse,
|
||||
SessionsResponse,
|
||||
TokenRow,
|
||||
@@ -351,6 +352,10 @@ export class ApiClient {
|
||||
});
|
||||
}
|
||||
|
||||
scopes(): Promise<{ scopes: ScopeRow[] }> {
|
||||
return this.get("/api/scopes");
|
||||
}
|
||||
|
||||
createToken(
|
||||
name: string,
|
||||
scope: string
|
||||
|
||||
Reference in new issue
Block a user