Scope
in package
FinalYes
This file is generated from spec/discovery.json (YouTube Data API v3, revision 20260924) by tools/generate.php. Do not edit it by hand - run `composer spec:build` instead.
The OAuth scopes the YouTube Data API accepts. A sign-in asks for them, and each method needs one of those it lists.
Tags
Table of Contents
Constants
- YOUTUBE : mixed = 'https://www.googleapis.com/auth/youtube'
- Manage your YouTube account
- YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR : mixed = 'https://www.googleapis.com/auth/youtube.channe...
- See a list of your current active channel members, their current level, and when they became a member
- YOUTUBE_FORCE_SSL : mixed = 'https://www.googleapis.com/auth/youtube.force-...
- See, edit, and permanently delete your YouTube videos, ratings, comments and captions
- YOUTUBE_READONLY : mixed = 'https://www.googleapis.com/auth/youtube.readonly'
- View your YouTube account
- YOUTUBE_UPLOAD : mixed = 'https://www.googleapis.com/auth/youtube.upload'
- Manage your YouTube videos
- YOUTUBEPARTNER : mixed = 'https://www.googleapis.com/auth/youtubepartner'
- View and manage your assets and associated content on YouTube
- YOUTUBEPARTNER_CHANNEL_AUDIT : mixed = 'https://www.googleapis.com/auth/youtubepartner...
- View private information of your YouTube channel relevant during the audit process with a YouTube partner
Methods
- all() : array<int, string>
Constants
YOUTUBE
Manage your YouTube account
public
mixed
YOUTUBE
= 'https://www.googleapis.com/auth/youtube'
YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR
See a list of your current active channel members, their current level, and when they became a member
public
mixed
YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR
= 'https://www.googleapis.com/auth/youtube.channel-memberships.creator'
YOUTUBE_FORCE_SSL
See, edit, and permanently delete your YouTube videos, ratings, comments and captions
public
mixed
YOUTUBE_FORCE_SSL
= 'https://www.googleapis.com/auth/youtube.force-ssl'
YOUTUBE_READONLY
View your YouTube account
public
mixed
YOUTUBE_READONLY
= 'https://www.googleapis.com/auth/youtube.readonly'
YOUTUBE_UPLOAD
Manage your YouTube videos
public
mixed
YOUTUBE_UPLOAD
= 'https://www.googleapis.com/auth/youtube.upload'
YOUTUBEPARTNER
View and manage your assets and associated content on YouTube
public
mixed
YOUTUBEPARTNER
= 'https://www.googleapis.com/auth/youtubepartner'
YOUTUBEPARTNER_CHANNEL_AUDIT
View private information of your YouTube channel relevant during the audit process with a YouTube partner
public
mixed
YOUTUBEPARTNER_CHANNEL_AUDIT
= 'https://www.googleapis.com/auth/youtubepartner-channel-audit'
Methods
all()
public
static all() : array<int, string>
Return values
array<int, string> —Every scope.