本文へスキップ
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ヘッダーで渡さない場合に指定します。

使用箇所