Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 3.98 KB

listauthtokensresponsebody.md

File metadata and controls

43 lines (38 loc) · 3.98 KB

ListAuthTokensResponseBody

Example Usage

import { ListAuthTokensResponseBody } from "@vercel/sdk/models/listauthtokensop.js";

let value: ListAuthTokensResponseBody = {
  tokens: [
    {
      id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391",
      name: "<value>",
      type: "oauth2-token",
      origin: "github",
      expiresAt: 1632816536002,
      activeAt: 1632816536002,
      createdAt: 1632816536002,
    },
  ],
  testingToken: {
    id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391",
    name: "<value>",
    type: "oauth2-token",
    origin: "github",
    expiresAt: 1632816536002,
    activeAt: 1632816536002,
    createdAt: 1632816536002,
  },
  pagination: {
    count: 20,
    next: 1540095775951,
    prev: 1540095775951,
  },
};

Fields

Field Type Required Description
tokens models.AuthToken[] ✔️ N/A
testingToken models.AuthToken Authentication token metadata.
pagination models.Pagination ✔️ This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.