Partager via


CommunicationProgrammableConnectivityModelFactory.NumberVerificationWithoutCodeContent Method

Definition

Initializes a new instance of NumberVerificationWithoutCodeContent.

public static Azure.Communication.ProgrammableConnectivity.NumberVerificationWithoutCodeContent NumberVerificationWithoutCodeContent (Azure.Communication.ProgrammableConnectivity.NetworkIdentifier networkIdentifier = default, string phoneNumber = default, string hashedPhoneNumber = default, Uri redirectUri = default);
static member NumberVerificationWithoutCodeContent : Azure.Communication.ProgrammableConnectivity.NetworkIdentifier * string * string * Uri -> Azure.Communication.ProgrammableConnectivity.NumberVerificationWithoutCodeContent
Public Shared Function NumberVerificationWithoutCodeContent (Optional networkIdentifier As NetworkIdentifier = Nothing, Optional phoneNumber As String = Nothing, Optional hashedPhoneNumber As String = Nothing, Optional redirectUri As Uri = Nothing) As NumberVerificationWithoutCodeContent

Parameters

networkIdentifier
NetworkIdentifier

Identifier for the network to query for this device.

phoneNumber
String

Phone number in E.164 format (starting with country code), and optionally prefixed with '+'.

hashedPhoneNumber
String

Hashed phone number. SHA-256 (in hexadecimal representation) of the mobile phone number in E.164 format (starting with country code). Optionally prefixed with '+'.

redirectUri
Uri

Redirect URI to backend application.

Returns

A new NumberVerificationWithoutCodeContent instance for mocking.

Applies to