অনুমোদনের শংসাপত্র প্রাপ্তি
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
YouTube লাইভ স্ট্রিমিং API ব্যবহার করতে সক্ষম হওয়ার জন্য আপনার আবেদনের অনুমোদনের শংসাপত্র থাকতে হবে। এই দস্তাবেজটি বিভিন্ন ধরনের অনুমোদনের শংসাপত্র বর্ণনা করে যা Google API কনসোল সমর্থন করে। এটি আপনার প্রকল্পের জন্য অনুমোদনের শংসাপত্রগুলি কীভাবে সন্ধান করতে বা তৈরি করতে হয় তাও ব্যাখ্যা করে৷
আপনার প্রকল্প তৈরি করুন এবং API পরিষেবাগুলি নির্বাচন করুন৷
- API কনসোলে শংসাপত্র পৃষ্ঠা খুলুন।
- পৃষ্ঠাটি আপনাকে দুটি ভিন্ন ধরনের শংসাপত্র তৈরি করতে দেয়। যাইহোক, YouTube লাইভ স্ট্রিমিং API-এর সমস্ত পদ্ধতির জন্য OAuth 2.0 অনুমোদনের প্রয়োজন। OAuth 2.0 শংসাপত্র তৈরি করতে নীচের নির্দেশাবলী অনুসরণ করুন৷
OAuth 2.0: যখনই আপনার অ্যাপ্লিকেশন ব্যক্তিগত ব্যবহারকারীর ডেটার অনুরোধ করে, তখন অনুরোধের সাথে একটি OAuth 2.0 টোকেন পাঠাতে হবে। আপনার আবেদন প্রথমে একটি ক্লায়েন্ট আইডি পাঠায় এবং সম্ভবত, একটি টোকেন পাওয়ার জন্য একটি ক্লায়েন্ট গোপনীয়তা পাঠায়। আপনি ওয়েব অ্যাপ্লিকেশন, পরিষেবা অ্যাকাউন্ট বা ইনস্টল করা অ্যাপ্লিকেশনগুলির জন্য OAuth 2.0 শংসাপত্র তৈরি করতে পারেন৷
আরও তথ্যের জন্য, OAuth 2.0 ডকুমেন্টেশন দেখুন।
API কী: আপনার কাছে একটি অনুরোধের সাথে একটি API কী অন্তর্ভুক্ত করার বিকল্প রয়েছে। কী আপনার প্রকল্পকে শনাক্ত করে এবং API অ্যাক্সেস, কোটা এবং রিপোর্ট প্রদান করে।
মনে রাখবেন যে YouTube লাইভ স্ট্রিমিং API-এর সমস্ত পদ্ধতির জন্য OAuth 2.0 অনুমোদনের প্রয়োজন। সেই কারণে, OAuth 2.0 শংসাপত্র তৈরি করার জন্য আপনাকে উপরের নির্দেশাবলী অনুসরণ করতে হবে। যদি আপনি চান, আপনি একটি API কী পাঠাতে পারেন, কিন্তু এটি প্রয়োজনীয় নয়।
API API কীগুলিতে বিভিন্ন ধরণের সীমাবদ্ধতা সমর্থন করে। যদি আপনার প্রয়োজনীয় API কীটি ইতিমধ্যেই বিদ্যমান না থাকে, তাহলে Create Credentials > API কী ক্লিক করে কনসোলে একটি API কী তৈরি করুন। আপনি কীটিকে উৎপাদনে ব্যবহার করার আগে Restrict key-এ ক্লিক করে সীমাবদ্ধতাগুলির একটি নির্বাচন করে সীমাবদ্ধ করতে পারেন।
আপনার API কীগুলি সুরক্ষিত রাখতে, নিরাপদে API কীগুলি ব্যবহার করার জন্য সর্বোত্তম অনুশীলনগুলি অনুসরণ করুন৷
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-03-06 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-03-06 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eAuthorization credentials are required for applications using the YouTube Live Streaming API.\u003c/p\u003e\n"],["\u003cp\u003eAll methods for the YouTube Live Streaming API necessitate OAuth 2.0 authorization, which requires the application to send a client ID and potentially a client secret to obtain a token.\u003c/p\u003e\n"],["\u003cp\u003eOAuth 2.0 credentials can be generated for web applications, service accounts, or installed applications through the Google API Console's Credentials page.\u003c/p\u003e\n"],["\u003cp\u003eWhile API keys are an option to identify a project, they are not necessary for the YouTube Live Streaming API, as it solely requires OAuth 2.0.\u003c/p\u003e\n"],["\u003cp\u003eAPI keys can be created and restricted within the API Console, following best practices for security.\u003c/p\u003e\n"]]],["To use the YouTube Live Streaming API, obtain authorization credentials via the Google API Console. All API methods require OAuth 2.0 authorization, which necessitates generating OAuth 2.0 credentials for web applications, service accounts, or installed applications by sending a client ID and potentially a client secret to obtain a token. While optional, you can also generate and send an API key, which identifies your project and can be created and restricted via the console.\n"],null,["Your application must have authorization credentials to be able to use the YouTube Live Streaming API.\n\nThis document describes the different types of authorization credentials that the [Google API Console](https://console.cloud.google.com/) supports. It also explains how to find or create authorization credentials for your project.\n\nCreate your project and select API services\n\n1. Open the [Credentials page](https://console.cloud.google.com/apis/credentials) in the API Console.\n2. The page allows you to create two different types of credentials. However, all of the methods for the YouTube Live Streaming API require OAuth 2.0 authorization. Follow the instructions below to generate OAuth 2.0 credentials.\n - **OAuth 2.0:** Whenever your application requests private user\n data, it must send an OAuth 2.0 token along with the request. Your\n application first sends a client ID and, possibly, a client secret to\n obtain a token. You can generate OAuth 2.0 credentials for web\n applications, service accounts, or installed applications.\n\n For more information, see the [OAuth 2.0 documentation](https://developers.google.com/identity/protocols/OAuth2).\n - **API keys:**\n\n You have the option of including an API key with a request.\n\n The key identifies your project and provides API access, quota, and\n reports.\n\n\n Note that all of the methods for the YouTube Live Streaming API require\n OAuth 2.0 authorization.\n\n\n For that reason, you need to follow the instructions above for\n generating OAuth 2.0 credentials. If you want, you can also send an\n API key, but that's not necessary.\n\n The API supports several types of restrictions on API keys. If the API key that you\n need doesn't already exist, then create an API key in the Console by\n clicking **[Create credentials](https://console.cloud.google.com/apis/credentials) \\\u003e API key** . You can restrict the key before using it\n in production by clicking **Restrict key** and selecting one of the\n **Restrictions**.\n\nTo keep your API keys secure, follow the [best practices for\nsecurely using API keys](//cloud.google.com/docs/authentication/api-keys)."]]