Auth0\SDK\API\Authentication::sms_passwordless_start PHP Метод

sms_passwordless_start() публичный Метод

public sms_passwordless_start ( $phone_number )
    public function sms_passwordless_start($phone_number)
    {
        $data = ['client_id' => $this->client_id, 'connection' => 'sms', 'phone_number' => $phone_number];
        return $this->apiClient->post()->passwordless()->start()->withHeader(new ContentType('application/json'))->withBody(json_encode($data))->call();
    }