मुख्य कंटेंट पर जाएँ
Sursa Developers

ऑब्जेक्ट

OAuthAppCreate

फ़ील्ड

  • namestringज़रूरी

    सहमति स्क्रीन के लिए नाम।

    length ≥ 1, length ≤ 100

  • descriptionstring

    सहमति स्क्रीन के लिए विवरण।

    length ≤ 1000

  • homepage_urlstring

    ऐप की वेबसाइट (http या https)।

    length ≤ 2000

  • client_typeOAuthClientTypeज़रूरी
  • redirect_urisarray of string

    रीडायरेक्ट URI: https; http सिर्फ़ localhost, 127.0.0.1 और [::1] के लिए; कस्टम ऐप स्कीम सिर्फ़ उलटे डोमेन के रूप में (com.example.app:/callback)। फ़्रैगमेंट नहीं। सार्वजनिक ऐप के लिए कम से कम एक URI चाहिए।

    items ≤ 10

  • scopesarray of OAuthScopeज़रूरी

    वे स्कोप, जो ऐप माँग सकता है।

    items ≥ 1

  • rolestring

    confidential ऐप के client credentials टोकन का रोल: admin, editor, verifier या viewer (डिफ़ॉल्ट viewer)।

  • data_profilestring

    client credentials टोकन की डेटा प्रोफ़ाइल; डिफ़ॉल्ट रूप से वही प्रोफ़ाइल, जो नई API कुंजी की होती है।

इनमें इस्तेमाल