Search
Preparing search index...
The search index is not available
NIM
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
NIM
src/CloudStorageServiceInterface
GetFileTokenResult
Interface GetFileTokenResult
Hierarchy
GetFileTokenResult
Index
Properties
token
tokens
ttl
type
Properties
Optional
token
token
?:
string
基于过期时间鉴权的token
Optional
tokens
tokens
?:
string
[]
如果是url鉴权,就返回url数组对应的tokens
ttl
ttl
:
number
token的过期时间,单位s
type
type
:
2
|
3
类型 2表示带过期时间的全局token鉴权,3表示文件级别的url鉴权
Modules
src/
Cloud
Session
Service
Interface
src/
Cloud
Storage
Service
Interface
src/
Event
Service
Interface
src/
Friend
Service
Interface
src/
Misc
Service
Interface
src/
Msg
Extend
Service
Interface
src/
Msg
Log
Service
Interface
src/
Msg
Service
Interface
src/NIMInterface
src/
Pass
Through
Service
Interface
src/
Plugin
Service
Interface
src/
Session
Service
Interface
src/
Signaling
Service
Interface
src/
Super
Team
Service
Interface
src/
System
Message
Service
Interface
src/
Team
Service
Interface
src/
User
Service
Interface
src/types
Get
File
Token
Result
token
tokens
ttl
type
基于过期时间鉴权的token