[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-04。"],[[["\u003cp\u003eThis webpage details the process of creating a session cookie using the Identity Platform ID token, which is done through an HTTP POST request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires two path parameters: \u003ccode\u003etargetProjectId\u003c/code\u003e representing the project ID, and \u003ccode\u003etenantId\u003c/code\u003e representing the tenant ID that the account belongs to.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be in JSON format and contain both an \u003ccode\u003eidToken\u003c/code\u003e, which is a valid Identity Platform ID token, and a \u003ccode\u003evalidDuration\u003c/code\u003e, which is an integer value specifying the cookie's expiration time in seconds, that is between five minutes and fourteen days.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will receive a response body containing an instance of \u003ccode\u003eCreateSessionCookieResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo perform the operation, the request must be authorized using one of two OAuth scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/identitytoolkit\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]