import { V1RefreshSessionBody } from "@steamsets/client-ts/models/components";
let value: V1RefreshSessionBody = {
dollarSchema: "https://api.steamsets.com/schemas/V1RefreshSessionBody.json",
refreshExpiresAt: new Date("2023-01-01T00:00:00Z"),
refreshToken: "<value>",
sessionExpiresAt: new Date("2023-01-01T00:00:00Z"),
sessionToken: "auth_",
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
dollarSchema |
string | ➖ | A URL to the JSON Schema for this object. | https://api.steamsets.com/schemas/V1RefreshSessionBody.json |
refreshExpiresAt |
Date | ✔️ | The expiration time of the refresh token | 2023-01-01T00:00:00Z |
refreshToken |
string | ✔️ | The refresh token | |
sessionExpiresAt |
Date | ✔️ | The expiration time of the session token | 2023-01-01T00:00:00Z |
sessionToken |
string | ✔️ | The session token | auth_ |