oauth

اعتبارسنجی درخواست اجازه و داده‌های صفحه‌ی consent

همان پارامترهای آدرس /oauth/authorize را می‌گیرد (نشست داشبورد لازم است) و برنامه، scopeها و کاربر را برای صفحه‌ی اجازه برمی‌گرداند. خطاها 400 با code هستند؛ اگر برنامه و redirect_uri معتبر باشند redirect_to هم می‌آید تا مرورگر با error به برنامه برگردد.

get/oauth/authorize

Request

  • Base URL: https://barchin.net/api
  • URL: https://barchin.net/api/oauth/authorize
  • Auth: HTTP bearer

Query parameters

response_typestring nullable
client_idstring nullable
redirect_uristring nullable
scopestring nullable
statestring nullable
code_challengestring nullable
code_challenge_methodstring nullable

Response

Successful Response

redirect_uristring required
statestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.