ऑब्जेक्ट
OAuthTokenRequest
application/x-www-form-urlencoded फ़ॉर्म के फ़ील्ड (RFC 6749, सेक्शन 4.1.3, 4.4.2 और 6)।
फ़ील्ड
grant_typestringज़रूरीमान्य मान:
authorization_coderefresh_tokenclient_credentialscodestringऑथराइज़ेशन कोड (
authorization_code)।redirect_uristringवही रीडायरेक्ट URI, जो ऑथराइज़ेशन रिक्वेस्ट में था (
authorization_code)।code_verifierstringमूल PKCE मान, 43 से 128 अक्षर (
authorization_code)।refresh_tokenstringरिफ़्रेश (
refresh_token)।scopestringस्पेस से अलग किए गए स्कोप, सिर्फ़ दायरा घटाने के लिए (
refresh_token,client_credentials)।client_idstringऐप का ID, जब सीक्रेट
Authorization: Basicहेडर में नहीं दिया जाता।client_secretstringconfidentialऐप का क्लाइंट सीक्रेट, जब वहAuthorization: Basicहेडर में नहीं दिया जाता।