[英]How can I programatically reset the sign in cookies for a user in G Suite?
It's possible to do it manually in the user management UI but I can't find anything in the user management API to do it programatically. 可以在用户管理UI中手动执行此操作,但是我在用户管理API中找不到任何以编程方式执行的操作。
https://developers.google.com/admin-sdk/directory/v1/reference/users https://developers.google.com/admin-sdk/directory/v1/reference/users
I found a workaround. 我找到了解决方法。 You can suspend a user and then immediately restore their account.
您可以暂停用户,然后立即恢复其帐户。 This has the side effect of invalidating their cookies.
这具有使其cookie无效的副作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.