friendship ended with social-app. php is my new best friend
1<?php 2/** 3 * Class YouTube 4 * 5 * @created 09.08.2018 6 * @author smiley <smiley@chillerlan.net> 7 * @copyright 2018 smiley 8 * @license MIT 9 */ 10declare(strict_types=1); 11 12namespace chillerlan\OAuth\Providers; 13 14/** 15 * YouTube OAuth2 16 * 17 * @link https://developers.google.com/youtube 18 */ 19class YouTube extends Google{ 20 21 public const IDENTIFIER = 'YOUTUBE'; 22 23 public const SCOPE_YOUTUBE = 'https://www.googleapis.com/auth/youtube'; 24 public const SCOPE_YOUTUBE_GDATA = 'https://gdata.youtube.com'; 25 26 public const DEFAULT_SCOPES = [ 27 self::SCOPE_EMAIL, 28 self::SCOPE_PROFILE, 29 self::SCOPE_YOUTUBE, 30 self::SCOPE_YOUTUBE_GDATA, 31 ]; 32 33}