youtubei.js / Utils / generateSidAuth
Function: generateSidAuth()
generateSidAuth(
sid
):Promise
<string
>
Generates an authentication token from a cookies' sid.
Parameters
• sid: string
Sid extracted from cookies
Returns
Promise
<string
>
youtubei.js / Utils / generateSidAuth
generateSidAuth(
sid
):Promise
<string
>
Generates an authentication token from a cookies' sid.
• sid: string
Sid extracted from cookies
Promise
<string
>