Skip to main content
Module

x/youtubei/deno.ts>Credentials

A wrapper around YouTube's internal API — reverse engineering InnerTube
Very Popular
Go to Latest
interface Credentials
Re-export
import { type Credentials } from "https://deno.land/x/youtubei@v9.3.0-deno/deno.ts";

Represents the credentials used for authentication.

Properties

access_token: string

Token used to sign in.

refresh_token: string

Token used to get a new access token.

expires: Date

Access token's expiration date, which is usually 24hrs-ish.

optional
client_id: string

Optional client ID.

optional
client_secret: string

Optional client secret.