YouTube.js
Guide
Discord
❤️ Sponsor
GitHub
Guide
Discord
❤️ Sponsor
GitHub

youtubei.js / OAuth2Tokens

Type Alias: OAuth2Tokens

OAuth2Tokens: object

Type declaration

access_token

access_token: string

client?

optional client: OAuth2ClientID

expires_in?

optional expires_in: number

expiry_date

expiry_date: string

refresh_token

refresh_token: string

scope?

optional scope: string

token_type?

optional token_type: string

Defined in

src/core/OAuth2.ts:12

Edit this page
Last Updated: 7/24/25, 1:11 PM