Preparing search index...
The search index is not available
@cloud/document - v24.7.0
@cloud/document
"context"
Session
Interface Session
业务用户会话
interface
Session
{
getClient
(
)
:
string
;
getSessionValue
(
keys
)
:
Dict
;
isCurrentSession
(
)
:
boolean
;
logout
(
)
:
void
;
}
Index
Methods
get
Client
get
Session
Value
is
Current
Session
logout
Methods
get
Client
get
Client
(
)
:
string
获取指定会话登录 IP
Returns
string
get
Session
Value
get
Session
Value
(
keys
)
:
Dict
获取指定会话上的 session value
Parameters
keys
:
string
[]
键值列表
Returns
Dict
is
Current
Session
is
Current
Session
(
)
:
boolean
指定会话是否为当前会话
Returns
boolean
logout
logout
(
)
:
void
登出指定会话
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
get
Client
get
Session
Value
is
Current
Session
logout
@cloud/document - v24.7.0
Loading...
业务用户会话