Implement authorization import and revocation checks (T-503)

This commit is contained in:
ila
2026-07-20 09:07:30 +08:00
parent b4453130de
commit 76f6108496
36 changed files with 2197 additions and 68 deletions
+13
View File
@@ -0,0 +1,13 @@
package gio
import "softbox.local/core/application"
func (shell *AppShell) applyAuthorizationEvent(event application.Event) (bool, error) {
payload, handled, err := application.ParseAuthorizationEvent(event)
if err != nil || !handled {
return handled, err
}
shell.authorization = payload.Snapshot
shell.authorizationLoaded = true
return true, nil
}