ChatAdmission:
| { channels: readonly string[]; label: string; mode: "open" }
| {
allowPublish: readonly string[];
label: string;
mode: "auth";
subscribe: readonly string[];
}
| {
channels: readonly string[];
label: string;
mode: "user";
post: readonly string[];
read: readonly string[];
ttlSec: number;
}
What one admission asks for, by the target's recorded mode. A named channel is the session's initial channel, read ceiling and post list. Without one, an authenticated session starts on no channel and can neither join nor post to one; an open session routes anywhere.