aps-agent/server/app/subject.ts

10 lines
315 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 请求主体:平台身份映射的结果(架构设计 4.1)。
* A1 阶段由入口层的开发身份解析产生;A4.1 落地后来自 JMS 会话或桌面授权令牌。
*/
export interface Subject {
userId: string;
tenantId: string;
displayName: string;
clientKind: 'desktop' | 'browser';
}