AuthTokenV1_2: {
exp: number;
iat: number;
jti: string;
} & {
scope: {
app: {
actions?: ("write" | "read" | "listChannels")[];
analytics?: boolean;
channels?: ({
id?: string;
name?: string;
} & {
actions: ((...) | (...) | (...) | (...) | (...))[];
members: ((...) & (...) & (...))[];
sfuBots?: (...)[];
} & {
[k: string]: unknown;
})[];
id: string;
turn?: boolean;
} & {
[k: string]: unknown;
};
};
version?: 1 | 2;
}
Type declaration
exp: number
iat: number
jti: string
Type declaration
scope: {
app: {
actions?: ("write" | "read" | "listChannels")[];
analytics?: boolean;
channels?: ({
id?: string;
name?: string;
} & {
actions: ((...) | (...) | (...) | (...) | (...))[];
members: ((...) & (...) & (...))[];
sfuBots?: (...)[];
} & {
[k: string]: unknown;
})[];
id: string;
turn?: boolean;
} & {
[k: string]: unknown;
};
}
app: {
actions?: ("write" | "read" | "listChannels")[];
analytics?: boolean;
channels?: ({
id?: string;
name?: string;
} & {
actions: ((...) | (...) | (...) | (...) | (...))[];
members: ((...) & (...) & (...))[];
sfuBots?: (...)[];
} & {
[k: string]: unknown;
})[];
id: string;
turn?: boolean;
} & {
[k: string]: unknown;
}
Optional
version?: 1 | 2
このトークンが無効になる時間を表すタイムスタンプ(UNIX timestamp)