You are here

public function RequestBuilder::addFile in Auth0 Single Sign On 8.2

Parameters

string $field:

string $file_path:

Return value

RequestBuilder

File

vendor/auth0/auth0-php/src/API/Helpers/RequestBuilder.php, line 240

Class

RequestBuilder
Class RequestBuilder

Namespace

Auth0\SDK\API\Helpers

Code

public function addFile($field, $file_path) {
  $this->files[$field] = $file_path;
  return $this;
}