ข้ามไปยังเนื้อหา
Sursa Developers

ออบเจ็กต์

OAuthTokenRequest

ฟิลด์ของฟอร์ม application/x-www-form-urlencoded (RFC 6749 หัวข้อ 4.1.3 4.4.2 และ 6)

ฟิลด์

  • grant_typestringจำเป็น

    ค่าที่ใช้ได้: authorization_coderefresh_tokenclient_credentials

  • codestring

    รหัสการอนุญาต (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_secretstring

    ข้อมูลลับของไคลเอ็นต์ของแอป confidential เมื่อไม่ได้ส่งในเฮดเดอร์ Authorization: Basic

ใช้โดย