You are here

public function Authentication::sms_code_passwordless_verify in Auth0 Single Sign On 8.2

Verify SMS code

@codeCoverageIgnore - Deprecated

Parameters

string $phone_number:

string $code:

string $scope:

Return value

mixed

Throws

ApiException

Deprecated

5.4.0, legacy authentication pipeline, no alternative provided.

File

vendor/auth0/auth0-php/src/API/Authentication.php, line 662

Class

Authentication
Class Authentication

Namespace

Auth0\SDK\API

Code

public function sms_code_passwordless_verify($phone_number, $code, $scope = 'openid') {
  return $this
    ->authorize_with_ro($phone_number, $code, $scope, 'sms');
}