mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-26 16:18:51 +00:00
chore: add proper documentation (#763)
* chore: generate API ref using `typedoc` * chore: declutter readme and add links to ytjs.dev * chore: clean up
This commit is contained in:
21
docs/api/namespaces/Utils/functions/generateSidAuth.md
Normal file
21
docs/api/namespaces/Utils/functions/generateSidAuth.md
Normal file
@@ -0,0 +1,21 @@
|
||||
[youtubei.js](../../../README.md) / [Utils](../README.md) / 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`\>
|
||||
|
||||
## Defined in
|
||||
|
||||
[src/utils/Utils.ts:96](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/utils/Utils.ts#L96)
|
||||
Reference in New Issue
Block a user