Braintree客户令牌到期 [英] Braintree client token expiration
问题描述
在Braintree中,当我生成带有 $ customerId
的客户端令牌时,将该客户端令牌保存到数据库中并在以后重新使用时有多可靠?
我总是有一个与 $ customerId
相对应的用户,如果我可以重新使用令牌。
令牌是否会过期?在官方文档中没有提及。 p>
非常感谢!
完整披露:我工作作为Braintree的开发人员
该客户端令牌不可重复使用,并且如果在短时间内多次使用单个客户端令牌将被吊销。跨度。您可以在Braintree文档的本部分中了解更多有关客户端令牌的信息。
In Braintree, When I generate a client token with a $customerId
, how reliable is it to save that client token to database and re-use it later on?
I always have a user corresponding to a $customerId
and it would greatly reduce the number of calls to Braintree if I could re-use the token.
Does the token ever expire? There is no mention of that in the official docs.
Thanks a lot!
Full disclosure: I work as a developer for Braintree
The client token is not intended to be reused and will be revoked if a single client token is used multiple times in a short time span. You can read more about the client token in this part of the Braintree documentation.
这篇关于Braintree客户令牌到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!