跳到主要内容

new_token

为指定的认证方式生成认证令牌

声明

string new_token(string type, map token_info, int living_seconds)

参数

参数名描述
type认证方式
token_info令牌信息
living_seconds有效时长(单位:秒)

返回值

认证令牌

使用方式

返回文档