登录参数。

interface AuthContext {
    userId: string;
    token: string;
}

Properties

Properties

userId: string

登录用户 ID。

token: string

IM 登录 token。