PFAuthenticationEntityTokenResponse
PFAuthenticationEntityTokenResponse 数据模型。
语法
typedef struct PFAuthenticationEntityTokenResponse {
PFEntityKey const* entity;
const char* entityToken;
time_t const* tokenExpiration;
} PFAuthenticationEntityTokenResponse;
成员
entity
PFEntityKey const*
可能是 nullptr
(可选)实体 ID 和类型。
entityToken
const char*
以 null 结尾
(可选)用于为所有基于实体的 API 调用设置 X-EntityToken 的令牌。
tokenExpiration
time_t const*
可能是 nullptr
(可选)令牌的到期时间(如果其即将到期),以 UTC 为单位。
要求
标头:PFAuthenticationTypes.h