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();
    }