namespace Application.Abstractions.YouTube; /// /// YouTube 연동에 필요한 Google OAuth 2.0 Scopes /// public static class GoogleOAuthScopes { public const string OpenId = "openid"; public const string Email = "email"; public const string Profile = "profile"; /// YouTube 계정의 읽기 전용 접근 (구독 확인 등) public const string YouTubeReadOnly = "https://www.googleapis.com/auth/youtube.readonly"; /// YouTube 채팅 읽기/쓰기 (force-ssl 필요) public const string YouTubeForceSsl = "https://www.googleapis.com/auth/youtube.force-ssl"; /// YouTube 멤버십 확인 public const string YouTubeChannelMemberships = "https://www.googleapis.com/auth/youtube.channel-memberships.creator"; /// /// 기본 YouTube 연동에 필요한 최소 scope 집합. /// 현재 앱은 읽기 전용 기능만 사용하므로 youtube.readonly 만 요청한다. /// (채팅 쓰기/모더레이션 도입 시 YouTubeForceSsl 추가 — 단 OAuth 인증 영상에서 해당 기능 시연 필요) /// public static readonly string[] Default = [ OpenId, Email, Profile, YouTubeReadOnly ]; }